Quantcast
Channel: Perl script to parse XML using XML::Simple - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Dre for Perl script to parse XML using XML::Simple

In addition to what other people have said, please use strict; ( and use warnings; )If I add those to your script, I get:Bareword "response" not allowed while "strict subs" in use at x.pl line...

View Article



Answer by TobyLL for Perl script to parse XML using XML::Simple

As Sobrique points out, XML::Simple isn't that simple. In this case, it removes the root element (<response>), which is why your print statement fails. You can either change your print:print...

View Article

Answer by Sobrique for Perl script to parse XML using XML::Simple

XML::Simple - isn't. It's for simple XML. In it's documentation it says:The use of this module in new code is discouraged. Other modules are available which provide more straightforward and consistent...

View Article

Perl script to parse XML using XML::Simple

I am trying to parse the following XML. The problem is I get nothing in the output:XML...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images