Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Unblessed Reference Error, XMLin

by bart (Canon)
on Apr 09, 2012 at 20:06 UTC ( #964197=note: print w/replies, xml ) Need Help??


in reply to Unblessed Reference Error, XMLin

$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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://964197]
help
Chatterbox?
[marinersk]: Unfortunate pairing of words: Razing and Raising. You can do both to a town or building and they mean pretty much the exact opposite of each other.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-05-29 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?