http://qs321.pair.com?node_id=1159752


in reply to Extract individual lines and block of text from large files

sample data also goes in code tags

for xml you want one of XML::Twig or XML::LibXML , both can do well to manage memory and both come with strawberry

http://xmltwig.org/article/ways_to_rome/ways_to_rome.html, Re: question about lookaheads and threatexpert/html parsing