Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

kodo's scratchpad

by kodo (Hermit)
on Jun 02, 2004 at 08:00 UTC ( #359259=scratchpad: print w/ replies, xml ) Need Help??

#!/opt/perl/bin/perl -w use strict; use IO::Handle; use IPC::Open3; # Does not work with >= 8192 my $cmd = "echo ".("x" x 8191); my($reader, $writer, $error) = ( new IO::Handle, new IO::Handle, new I +O::Handle ) or die "couldn't :$!"; $reader->autoflush(1); $writer->autoflush(1); $error->autoflush(1); my $pid = open3($writer, $reader, $error, $cmd) or die "couldnt: $!"; print "PID: $pid\n"; waitpid $pid, 0; print "OK\n";
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-12-27 03:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls