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

Re^3: The difference between my and local

by sanPerl (Friar)
on Oct 17, 2006 at 11:28 UTC ( #578736=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $tt = 3.14159;
    ...
    }
    print "Outside block, \$tt = $tt\n";
    print "Outside block, \$::tt = $::tt\n";
    
  2. or download this
    Can't localize lexical variable $tt at basic.pl line 4.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578736]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-03-27 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (324 votes). Check out past polls.