Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: XML parsing vs regex

by space_monk (Chaplain)
on May 13, 2013 at 20:18 UTC ( #1033351=note: print w/ replies, xml ) Need Help??


in reply to Re: XML parsing vs regex
in thread XML parsing vs regex

That Indiana excerpt has the implication that the simple choice is the one to make, whereas personally I think the only way you avoid being poisoned in this case is to choose the complex glitzy method :-P

If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)


Comment on Re^2: XML parsing vs regex
Re^3: XML parsing vs regex
by sundialsvc4 (Monsignor) on May 14, 2013 at 02:05 UTC

    Humor was never intended to be taken deeply or to be saturated with implications.   Clearly, when you are dealing with an XML document, you [almost] always want to use a well-proved library to retrieve the elements of interest and serve them to you ... even when a “simpler” solution seems to be suggesting itself.   XML is a devilish beast that is always offering up more committee-bred complications, and ’tis best to let someone else wander into the fray on your behalf.   “Better libxml than me...”   Shortcuts here, well-intentioned though they may be, become a pain in the glutes.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-08-22 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (155 votes), past polls