Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 chilling in the Monastery: (12)
As of 2014-10-22 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (118 votes), past polls