Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to xml parsers: do I need one?

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!

------
We are the carpenters and bricklayers of the Information Age.

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://287369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-23 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found