Quantcast
Channel: how to convert xml to hash and retrieve the values from it - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Borodin for how to convert xml to hash and retrieve the values from it

If you remove the ForceArray option and use the default settings then XML::Simple will do what you ask. However you should use something other than XML::Simple for new code as it has many problemsuse...

View Article



Answer by choroba for how to convert xml to hash and retrieve the values from it

As the Dumper output shows, ForceArray created some arrays on the way.my $name = $ref->{server1}[0]{servername}[0];That's one of the reasons why even the documentation of XML::Simple warns against...

View Article

how to convert xml to hash and retrieve the values from it

I have simple xml for which dumper is getting generated, I need to convert the xml to hash, I am using XML::Simple package, how can I able to achieve it.basically I need to get the value from hash like...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>