Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

wait for @commands

by Sixtease (Friar)
on Oct 05, 2012 at 12:30 UTC ( #997465=poem: print w/ replies, xml ) Need Help??

Not really a poem, it just struck me how nice the second line of this code sounds:

for (@commands) { if (fork==0) { exec $_ } }; wait for @commands;
use strict; use warnings; print "Just Another Perl Hacker\n";

Comment on wait for @commands
Download Code
Re: wait for @commands
by chacham (Priest) on Oct 07, 2012 at 05:42 UTC

    wait for @commands;

    Hmm....

    • weight for commands (sell it to someone who needs a few pounds)
    • wait 4 @commands (i do batches quickly, like 1, 2, 3)
    • wait for at commands (xt commands are so 80's)
    • wait for @commands (please asks nicely)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: poem [id://997465]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-12-27 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls