in reply to Re^3: XML::Twig output to filehandlein thread XML::Twig output to filehandle
undef $/; my $XML = <DATA>; [download]
Oh yeah, I missed that one. It's obviously only there for the code example though. I hope the OP doesn't store the real data in the DATA section of the code!