Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Is there any XML reader like this?

by ashok.g (Beadle)
on Jan 15, 2012 at 14:43 UTC ( #947995=note: print w/ replies, xml ) Need Help??


in reply to Re: Is there any XML reader like this?
in thread Is there any XML reader like this?

toolic,

I have been using your code and which uses Simple::XML but now I am unable to retrieve the "ip" with the same code:

print "CMD:",@{ $xml->{$server}{ip} },"\n";
This is printing nothing.

And I have my XML file with server like:
<station19> <ip>10.0.1.113</ip> </station19>
Anything missing here?

Thanks,
Ashok


Comment on Re^2: Is there any XML reader like this?
Select or Download Code
Re^3: Is there any XML reader like this?
by toolic (Chancellor) on Jan 15, 2012 at 23:31 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://947995]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-28 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls