[olug] [Omaha.pm] Cheesy XML wrangling

Luke -Jr luke at dashjr.org
Sat Mar 15 05:47:12 UTC 2008


On Saturday 01 March 2008, Jay Hannah wrote:
> I've been doing a lot of cheesy XML parsing w/ command-line perl
> lately. Perl is great at elegant XML handling too (I'm a fan of
> XML::Twig), but it's hard to beat 30-second command line solutions to
> answer simple questions...

I love Perl, but your example is one of how NOT to manage XML, because it will 
very easily break just by adding a valid newline in your input.



More information about the OLUG mailing list