Perl Monk, Perl Meditation | |
PerlMonks |
Re: xml parsers: do I need one?by dragonchild (Archbishop) |
on Aug 28, 2003 at 14:13 UTC ( [id://287369]=note: print w/replies, xml ) | Need Help?? |
If you can mathematically guarantee that a regex will suffice, then use a regex! No-one is pointing a gun at your head and forcing you to use a parser. Parsers guarantee that they can read any file in XYZ format. If you have a subset of XYZ, then go ahead and use a regex. TMTOWDI!
------ The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6 Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
In Section
Seekers of Perl Wisdom
|
|