1 package Object::Remote::Node;
4 use Object::Remote::Connector::STDIO;
9 my $c = Object::Remote::Connector::STDIO->new->connect;
11 $c->register_class_call_handler;
13 my $loop = Object::Remote->current_loop;
15 $c->on_close->on_ready(sub { $loop->want_stop });
17 print { $c->send_to_fh } "Shere\n";
20 $loop->run_while_wanted;