Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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

Replies are listed 'Best First'.
Re^3: Is there any XML reader like this?
by toolic (Bishop) 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?
[erix]: when is the bird-brain's inauguration tweet?
[erix]: (wasn't augur something to with birds too?)
[erix]: augur
[erix]: ah, deciding on the the flight of birds - good idea ;)
[Discipulus]: as good as the Roma foundation
Discipulus we began with a fratricide..
[erix]: ah, Romulus killed Remus. Sad! ;)
erix .oO( does Trump have a brother ? )

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-01-20 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.