![]() |
|
No such thing as a small change | |
PerlMonks |
Re^3: how to read conf file in perl scriptby ph0enix (Friar) |
on Oct 20, 2009 at 08:15 UTC ( #802163=note: print w/replies, xml ) | Need Help?? |
Cange your config file to a module - eg.
Then you can load it with use MyApp::Config; and access variables in following way $MyApp::Config::c.
In Section
Seekers of Perl Wisdom
|
|