in reply to Re: what is EOF and how can I send it? (0 bytes read)
in thread what is EOF and how can I send it?
-Anacreosub pushusers() { my $host = shift; my $cmd = sprintf("ssh %s@%s perl",$user,$host); my $pid = open2(*Reader, *Writer, $cmd); print Writer "die('got into perl')\n"; close(Writer); my $output = <Reader>; print "Got from host ${host} output: ${output}"; exit(0); }
|
|---|