in reply to Suggestions for design of a config/rules file
There are many modules to play with XML, so I won't recommend any particular one. But I don't recommend parsing XML with your own regexes. Use the code that's already been debugged.
If security's not an issue and the data is not that big, like ~/.foobarrc files, I would go with Data::Dumper and eval. It's quick, it's easy, it's extensible without effort.
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Suggestions for design of a config/rules file
by Plankton (Vicar) on Jun 09, 2004 at 18:00 UTC | |
by halley (Prior) on Jun 09, 2004 at 18:11 UTC |