in reply to xml processing line-by-line

HTML::Parser will let you parse chunks of data. You could use it directly or just use it to decide when you have a complete chunk.
-- gam3
A picture is worth a thousand words, but takes 200K.