http://www.perlmonks.org?node_id=947995


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