Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 romping around the Monastery: (16)
As of 2015-07-28 11:46 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 (254 votes), past polls