Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 about the Monastery: (11)
As of 2015-07-02 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (45 votes), past polls