4 use Object::Remote::Connector::STDIO;
8 my $c = Object::Remote::Connector::STDIO->new->connect;
10 $c->register_class_call_handler;
12 $c->ready_future->done;
14 my $loop = Object::Remote->current_loop;
16 my $f = CPS::Future->new;
18 $f->on_ready(sub { $loop->want_stop });
22 print { $c->send_to_fh } "Shere\n";
25 $loop->run_while_wanted;