c has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; require "script_options.txt";
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Calling variables from external file, with strict
by danger (Priest) on Jun 28, 2002 at 01:11 UTC | |
Re: Calling variables from external file, with strict
by chromatic (Archbishop) on Jun 28, 2002 at 00:48 UTC | |
Re: Calling variables from external file, with strict
by bronto (Priest) on Jun 28, 2002 at 09:57 UTC | |
Re: Calling variables from external file, with strict
by erikharrison (Deacon) on Jun 28, 2002 at 00:53 UTC | |
Re: Calling variables from external file, with strict
by krisahoch (Deacon) on Sep 06, 2002 at 18:21 UTC | |
Re: Calling variables from external file, with strict
by zentara (Cardinal) on Jun 28, 2002 at 16:12 UTC | |
by zentara (Cardinal) on Jun 28, 2002 at 17:37 UTC |