in reply to Re: To find the last occurence and replace in perl
in thread To find the last occurence and replace in perl

“an XML-parsing module” is the only way to go ...
Yeah, right, I agree in principle, but what are you gonna do in the event that when this otherwise very fine module chokes on an error in the XML syntax? This is not a rhetorical question (sh*t happens, you know), I have seen that happening several times, although I don't remember precisely which module it was (and also with HTML modules, BTW).
  • Comment on Re^2: To find the last occurence and replace in perl