Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 examining the Monastery: (7)
As of 2015-07-28 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls