4 use Object::Remote::Connector::Local;
8 ':', ($ENV{PERL5LIB} ? $ENV{PERL5LIB} : ()), qw(lib t/lib)
11 my $connection = Object::Remote::Connector::Local->new->connect;
13 #$Object::Remote::Connection::DEBUG = 1;
15 my $remote = Object::Remote->new(
16 connection => $connection,
17 class => 'ORTestClass'
20 isnt($$, $remote->pid, 'Different pid on the other side');
22 is($remote->counter, 0, 'Counter at 0');
24 is($remote->increment, 1, 'Increment to 1');
26 is($remote->counter, 1, 'Counter at 1');