Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: The difference between my and local

by sanPerl (Friar)
on Oct 17, 2006 at 11:28 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578736]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-04-18 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found