Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Keep It Simple, Stupid
 
PerlMonks  

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

by jonadab (Parson)
on Dec 14, 2006 at 11:18 UTC ( #589789=note: print w/ replies, xml ) Need Help??


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

require './config.pl';

After all, sometimes the configuration needs to calculate values or define objects or subroutines (e.g., a callback). An .ini file just can't handle those needs. And sometimes defining a set of related options together, e.g. with map, improves the clarity of the config file, and .ini can't do that, either.


Sanity? Oh, yeah, I've got all kinds of sanity. In fact, I've developed whole new kinds of sanity. You can just call me "Mister Sanity". Why, I've got so much sanity it's driving me crazy.


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (17)
As of 2014-04-16 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (428 votes), past polls