Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 lurking in the Monastery: (10)
As of 2014-10-24 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (137 votes), past polls