hardikv has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
how to read variables from conf file.
exp: auto.conf my a = 1000 my b = "test" my c = 2000 my d = "test2"
############################### test.pl ############################### #!/usr/bin/perl require auto.conf (can i use require)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to read conf file in perl script
by bv (Friar) on Oct 19, 2009 at 15:23 UTC | |
by BioLion (Curate) on Oct 19, 2009 at 16:47 UTC | |
Re: how to read conf file in perl script
by darkphorm (Beadle) on Oct 19, 2009 at 21:14 UTC | |
Re: how to read conf file in perl script
by cdarke (Prior) on Oct 19, 2009 at 16:26 UTC | |
by Anonymous Monk on Oct 19, 2009 at 23:58 UTC | |
by ph0enix (Friar) on Oct 20, 2009 at 08:15 UTC | |
by afoken (Chancellor) on Oct 20, 2009 at 12:23 UTC | |
by Anonymous Monk on Oct 21, 2009 at 10:01 UTC | |
by afoken (Chancellor) on Oct 21, 2009 at 16:28 UTC | |
Re: how to read conf file in perl script
by ph0enix (Friar) on Oct 20, 2009 at 08:07 UTC |
Back to
Seekers of Perl Wisdom