on Mon, 19 Aug 2002 00:47:49 GMT, [EMAIL PROTECTED] (Andrew
Bogecho) wrote:
> I would like to know how I can setup an external config file whose
> variables I can then use in a perl script.
[...]
> I know that this can be done by setting up Config as Config.pm and
> get the variables with a "use Config;" in my sample.pl script.
>
> File Config.pm
You may want to use another name than this, since there is already a
Config.pm in the standard Perl distribution:
perldoc Config
> I however want to use a non Perl file. Please let me know if this
> is possible, or do I have to set up the separate package to do
> this.
There are a lot of modules on CPAN that are related to config and/or
inifiles, as
<http://search.cpan.org/search?mode=all&query=config>
will show.
You also may want to read
<http://groups.google.com/groups?selm=3d5db9ae%240%24184%2475868355%
40news.frii.net>
and ensuing thread from clpmisc on a related topic.
--
felix
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]