3 use Sys::Hostname qw(hostname);
9 ':', ($ENV{PERL5LIB} ? $ENV{PERL5LIB} : ()), qw(lib t/lib)
12 my $connection = Object::Remote->connect('-');
14 my $ortestobj_j = ORTestObjects->new::on($connection, { name => 'John' });
15 my $ortestobj_k = ORTestObjects->new::on($connection, { name => 'Ken' });
17 is($ortestobj_k->takes_object($ortestobj_j), 1, 'Passed correct object back over the wire');
19 my $george = ORTestObjects->new::on($connection, { name => 'George'});
20 my $george_again = $george->give_back;
21 is($george->{remote}, $george_again->{remote}, 'objects appear to be the same');
22 is($george->name, $george_again->name, 'objects have the same name');