Re: Reading config files

2002-11-01 Thread Victor Tsang
build a pm to store them. Tor. Brian Ling wrote: > > Hi All > > I have a main Perl program that needs to read in a config file that just > sets some variable values, what is the best way to do this. The config > file can be in any format I want such as: > > #!/usr/bin/perl > my $var = 3; > m

RE: Reading config files

2002-11-01 Thread vinai AR
ment to use the subroutines of the file named in some other program. Rgds, vinai -Original Message- From: Brian Ling [mailto:brian.ling@;bbc.co.uk] Sent: Friday, November 01, 2002 3:11 PM To: [EMAIL PROTECTED] Subject: Reading config files Hi All I have a main Perl program that needs to r

Reading config files

2002-11-01 Thread Brian Ling
Hi All I have a main Perl program that needs to read in a config file that just sets some variable values, what is the best way to do this. The config file can be in any format I want such as: #!/usr/bin/perl my $var = 3; my $var1 = 4 ; my $var2 = 234; etc So how could I run