Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Is 'use vars' really obsolete?

by AnomalousMonk (Archbishop)
on Sep 19, 2017 at 00:56 UTC ( [id://1199639]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "{ package Foo;
    ...
       }
    "
    fully qualified: 12345
    
  2. or download this
    package Foo {
        our $test = 12345;
    ...
    package Bar {
        print 'fully qualified: ', $Foo::test;
        }
    

Log In?
Username:
Password:

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

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

    No recent polls found