Ryan Frantz wrote: > Perlers, > > > > I'm working on a script that will need to email clients if it finds > files in their respective outbound directories. I've decided on a > simple config file: > > > > [foo] > > [EMAIL PROTECTED] > > > > [bar] > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > > > > I've written a simple parser but it doesn't check for incorrect syntax. > I looked at some of the Config:: modules and they appear to require > Name=Value pairs. > > > > So my question is one of design; should I use the name=value pairing and > one of the Config:: modules, or just leave it as is? I'm going to be > the only one maintaining the config file but, of course, I want the > script and config file to be maintainable even if I'm not around. > >
One of the Config:: modules should handle your format above. You might also consider AppConfig, http://search.cpan.org/~abw/AppConfig-1.56/lib/AppConfig.pm HTH, http://danconia.org > > ry > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>