The more Perlish way would be
print "$_\n" for @lines; [download]
In reply to Re: XML parsing by choroba in thread XML parsing by arunshankar.c