Darren,
try
App::Config
Jeffl
On 2001.08.23 15:27 darren chamberlain wrote:
> James Kelty <[EMAIL PROTECTED]> said something to this effect on
> 08/23/2001:
> > I would like to set up a configuration file for a CGI that I am writing
> > so that it will be portable without
> > editing the actual cgi. Stuff like administator email's, network
> > segments, and the like.
> >
> > Is there a way to source the file for the cgi to read, or do I have to
> > add a require statment and make the file a user routine?
>
> There are a few ways to do it.
>
> Easiest is to have the config file be valid perl, and call it
> like:
>
> require "/path/to/config.pl";
>
> There are plenty of modules on CPAN to read config files; my
> favorite is Config::General, which allows for (among other
> things) Apache-style config files. Config::Ini is also supposed
> to be good, and there is also the AppConfig package.
>
> (darren)
>
> --
> Students achieving Oneness will move on to Twoness.
> -- Woody Allen
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]