Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: namespaces and variable initilization with require 'file'

by broomduster (Priest)
on Oct 01, 2008 at 15:46 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2025-01-16 04:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (53 votes). Check out past polls.