http://www.perlmonks.org?node_id=1033383


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

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.