Agent

 view release on metacpan or  search on metacpan

examples/keepalive.pl  view on Meta::CPAN


my @data = $client->getline;

print "S: made it! ", ref( $client ), "\n";
print @data;
print "S: writing 'hi there!\\n' to C...\n";
print $client "hi there! Ed!\n";
print "S: done.\n";
undef $client;	# terminate socket connection

"Waiting for process $pid...\n";
waitpid( $pid, 0 );



( run in 0.464 second using v1.01-cache-2.11-cpan-8d75d55dd25 )