Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: XML Parsing,

by moritz (Cardinal)
on Sep 09, 2009 at 09:45 UTC ( [id://794308]=note: print w/replies, xml ) Need Help??


in reply to XML Parsing,

So what's the input data that's causing you troubles, and what kind of troubles do you have? A run time error? If so, which?

My magic crystal ball tells me that you might need some ForceArray options as explained in the XML::Simple documentation, but my crystal ball is not the most reliable diagnosis tool out there.

Update: Don't you find the repetitions in your program a bit painful? Perl has loops, arrays and hashes - they can save you lots of typing, and make your code more general.

Perl 6 - links to (nearly) everything that is Perl 6.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-19 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found