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

footpad's scratchpad

by footpad (Monsignor)
on Jun 02, 2004 at 02:08 UTC ( #359005=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    
    ...
    foreach $element (grep { !/\s/ } @words) {
       print "Element ", sprintf( "%02d", $count++ ), ": $element\n";
    }
    
  2. or download this
    Element 00: I
    Element 01: am
    Element 02: Sam
    ...
    Element 05: I
    Element 06: am
    Element 07: .
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[ambrus]: Corion: exactly. by pre-forking you avoid that, because you spawn processes from a smaller process that never uses threads and is kept only to spawn things
[ambrus]: (and to wait for the spawned stuff)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2017-10-19 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?