Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Lexical scoping like a fox

by adrianh (Chancellor)
on Nov 24, 2002 at 22:05 UTC ( #215546=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $foo = "hello";
    {
    ...
    
    inner foo is something else
    outer foo is hello world
    
  2. or download this
    my $foo = "defined";
    
    ...
    
    foo is undef during BEGIN phase
    foo is defined at runtime
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2015-07-01 21:44 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 (22 votes), past polls