Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'd like to call in variables from an external file, however with use strict; in place, I get the gong saying that the variables need to be declared. Is there an easy way to do this? I have a script that is getting to have a large number of user-definable variables that I would like to read from an external file, but
just doesnt seem to be the way to go. I'm not up for digging in and reading from an xml config file, I just need something simple that lets a user define something like my $mtu = "1500"; in a seperate file. thanks! -c In reply to Calling variables from external file, with strict by c
|
|