Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: My preferred way of handling config data in Perl is:

by lovekumar (Initiate)
on Dec 20, 2006 at 09:46 UTC ( #590872=note: print w/ replies, xml ) Need Help??


in reply to My preferred way of handling config data in Perl is:

I would make a .pm file let say Config.pm, store my config in form of Data Structure let say $CONFIG and export this var to other modules. require Exporter; use vars qw/ @EXPORT/; @EXPORT = qw/$CONFIG/; do something with $CONFIG now.


Comment on Re: My preferred way of handling config data in Perl is:

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-12-28 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls