On Mon, 4 Jul 2005, Ken Killer wrote: > I load the config file in the main program using do, > <main.pl> > #!perl > do "conf"; > use strict; > print "value of v is $v\n"; > ------------------------------------ > and the config file has only one line, > <conf> > $v = 'hello';
Have you tried making that my $v = 'hello'; ? When you `use strict`, you need to declare your variables. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>