Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Context propagation into subs and evals

by moritz (Cardinal)
on Feb 21, 2012 at 09:59 UTC ( #955261=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -wce 'sub f { 1 + 1; 1}; f'
    Useless use of a constant (2) in void context at -e line 1.
    -e syntax OK
    
  2. or download this
    sub f() {
       g()
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-09-04 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (131 votes), past polls