Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 chanting in the Monastery: (5)
As of 2015-07-28 05:17 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 (252 votes), past polls