Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: namespaces and variable initilization with require 'file'

by broomduster (Priest)
on Oct 01, 2008 at 15:46 UTC ( #714816=note: print w/ replies, xml ) Need Help??


in reply to namespaces and variable initilization with require 'file'

As an alternative to $main::a (noted by JavaFan), you can declare using our.


Comment on Re: namespaces and variable initilization with require 'file'
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-10-21 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (96 votes), past polls