Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Spot the bug!

by tlm (Prior)
on Oct 25, 2006 at 21:03 UTC ( [id://580652]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo {
      return eval { bar( shift ) } || 0;
    }
    
  2. or download this
    sub bar { return shift; }
    
  3. or download this
    print foo( 3 ), "\n";
    $@ = 3;
    ...
    __END__
    3
    0
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found