Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

pc88mxer's scratchpad

by pc88mxer (Vicar)
on Jan 14, 2008 at 06:59 UTC ( #662266=scratchpad: print w/replies, xml ) Need Help??

# for chris68805 $index=0; while ($index<2) { my $testpath="echo I am instance $index; sleep 10; echo Exiting $index"; $id=fork(); if ($id == 0) { exec($testpath) or die "unable to exec $testpath: $!\n"; } $index++; } print "Waiting for children\n"; while (wait > -1) {}; print "All children terminated\n";
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2023-12-09 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (37 votes). Check out past polls.

    Notices?