Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: XML::Simple needs to go!

by Preceptor (Deacon)
on Dec 21, 2015 at 11:52 UTC ( [id://1150854]=note: print w/replies, xml ) Need Help??


in reply to Re: XML::Simple needs to go!
in thread XML::Simple needs to go!

Doing the right thing is IMO pretty easy. I tend to recommend:

  • XML::Twig is my first port of call - because it's fairly straightforward and easy to get to grips with. I think it would serve well as a 'default' module as a result. It's a bit limited in certain areas (like only handling some XPath expressions) but for most scenarios it's fine. And excellent if you need to deal with large XML thanks to being able to `purge`
  • XML::LibXML for anything else - it's a bit steeper on the learning curve (than XML::Twig, but still easier than XML::Simple), but extremely comprehensive.

Mostly I have found that most "I am having this problem with XML::Simple..." questions are solved by "use XML::Twig instead".

Replies are listed 'Best First'.
Re^3: XML::Simple needs to go!
by Discipulus (Canon) on Dec 21, 2015 at 12:17 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found