Then you can load it with use MyApp::Config; and access variables in following way $MyApp::Config::c.package MyApp::Config; our $a = 1000; our $b = "test"; our $c = 2000; our $d = "test2"; 1;
In reply to Re^3: how to read conf file in perl script
by ph0enix
in thread how to read conf file in perl script
by hardikv
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |