in reply to My preferred way of handling config data in Perl is:
I prefer this way, upper has higher priority:
- command line arguments
- %ENV
- file configuration (it means XML for me)
- hardcoded defaults
The other practice, which I use sometimes, is to treat relative paths as relative to real location of the executed file (excluding mod_perl cases).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: My preferred way of handling config data in Perl is:
by syphilis (Archbishop) on Dec 20, 2006 at 14:37 UTC |
In Section
Past Polls