more useful options | |
PerlMonks |
Re: Unblessed Reference Error, XMLinby bart (Canon) |
on Apr 09, 2012 at 20:06 UTC ( [id://964197]=note: print w/replies, xml ) | Need Help?? |
$xml = $xml->XMLin($xmlData);In each loop, you're replacing the previous value in $xml with new data. That is bound to go wrong the second time you go through the loop body. Most likely you need to use a different variable.
In Section
Seekers of Perl Wisdom
|
|