Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Include external variables?

by BillKSmith (Deacon)
on Dec 03, 2012 at 02:04 UTC ( #1006774=note: print w/ replies, xml ) Need Help??


in reply to Include external variables?

A true module should do the job for you, but it is generally considered poor practice to export variables. In your case they are used as contants that are widely used in your application. You would not be concerned about "polluting" symbol space or accidentally changing their values. Go for it.

Bill


Comment on Re: Include external variables?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2015-07-31 18:45 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 (280 votes), past polls