beast schreef:
> 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? Than
beast wrote:
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?
Declare the variable
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 unsubscrib