Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: question about running a system and a perl function background

by BrowserUk (Patriarch)
on Dec 15, 2004 at 21:01 UTC ( [id://415190]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %lookfor: shared; @lookfor{ @ARGV } = ();
    
  2. or download this
    $line =~ $_ and $lookfor->{ $_ } = $line for keys %{ $lookfor };
    
  3. or download this
    last if keys %$lookfor == grep defined, values %$lookfor;
    
  4. or download this
    my @dones  : shared = ( 0 ) x @cmds;
    
  5. or download this
        \$dones[ $_ ],
    
  6. or download this
    $$doneRef = 1;
    
  7. or download this
    sleep 1 while grep( $_, @dones ) < @cmds;
    
  8. or download this
                    ## Set the quitNow if the value indicates this
                    $$quitNow = ( $lookfor->{ $_ } eq '1' );
    
  9. or download this
    #! perl -slw
    use strict;
    ...
                  412014 :  was not found.
              junk\.htm$ :  was not found.
                copyrght :  was found at '     R     R:\cookbook\copyrght.
    +htm'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://415190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found