Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Using constants...

by Joost (Canon)
on Oct 29, 2009 at 18:31 UTC ( #804016=note: print w/ replies, xml ) Need Help??


in reply to Using constants...

To prevent this issue (and some potential others), I'd recommend putting the constant declarations in a module and then export them to the using package.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2016-06-25 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.