I just want to load variable from config file:

config.pl:

$basedir = '/home/user/';

myprog.pl:

#use strict;

do 'config.pl' or die "can not open config\n";

# do some stuff here


the problem is, i have to disable strict in myprog.pl. any other way to do it?
Thanks.


--budhi

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to