On 6/10/02 2:26 PM, "James Taylor" <[EMAIL PROTECTED]> wrote:
> You get the idea. Anyway, I could make a file like this and then > 'require' it I suppose, then run a regex on the lines and assign the > variables THAT way, but I was curious if anyone could think of a better > way to do this instead of forcing myself to make all these un-needed > lines in my script just to get the variables. Maybe a module or > something? Any suggestions would be appreciated! Here are a few modules that simplify the creation/use of configuration files. I've only played with some, so YMMV: XML::Simple http://www.web.co.nz/~grantm/cpan/index.html Config::General http://search.cpan.org/search?dist=Config-General AppConfig http://search.cpan.org/search?dist=AppConfig Config::Simple http://search.cpan.org/search?dist=Config-Simple - geoff -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]