Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: One piece of code, two mysteries!

by Anonymous Monk
on Oct 05, 2012 at 06:33 UTC ( #997393=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    async BLOCK;
        "async" creates a thread to execute the block immediately followin
    +g
    ...
        "undef" if the thread terminates *normally*. Otherwise, it returns
        the value of $@ associated with the thread's execution status in i
    +ts
        "eval" context.
    
  2. or download this
    print timedCommand( 3, $cmd, $_ ) || "\$@ $@" for 2, 3, 4; ### LINE B 
    +###
    
  3. or download this
    $ perl huh
    1
    ...
     4
    
    4
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (16)
As of 2014-12-18 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (58 votes), past polls