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

Re^5: Why oh why is working with XML so bloomin' difficult in Perl?

by jeffa (Bishop)
on Jan 20, 2009 at 14:36 UTC ( [id://737584]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Why oh why is working with XML so bloomin' difficult in Perl?
in thread Modified title: The structures created by many of the XML parsers in Perl appear unnecessarily deep in levels...

Why? I love Perl. And XML. It's the bad craftsman who curses his tools.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on Re^5: Why oh why is working with XML so bloomin' difficult in Perl?

Replies are listed 'Best First'.
Re^6: Why oh why is working with XML so bloomin' difficult in Perl?
by jfroebe (Parson) on Jan 20, 2009 at 15:22 UTC

    s/bad/frustrated/

    Chill dude. I meant no harm.

    Jason L. Froebe

    Blog, Tech Blog

      Don't you mean bloomin' difficult in Perl harm? I troll, I troll.

      Whether or not you actually meant harm to Perl with what you said, i am here to make sure that you don't harm Perl. What is the message you are sending out? That one would be better off NOT using Perl to work with XML. That is an outright lie and borderline slander.

      jeffa

      L-LL-L--L-LL-L--L-LL-L--
      -R--R-RR-R--R-RR-R--R-RR
      B--B--B--B--B--B--B--B--
      H---H---H---H---H---H---
      (the triplet paradiddle with high-hat)
      

        Whatever...^H^H^H^H^H

        I take back the flippant "Whatever" response. You asked a valid question and I posted a knee jerk response. Sorry about that.

        My intention in my original question was that when you look at many of the XML parsing modules, they create hashes of XXXX where the depth tend to become rather unwieldly. XML::Simple is good for simple XML but not not so much for complex XML. On the flip side, libXML is a bit much for simple XML.

        The thing that started all this? Flickr::API using the abandoned XML::Parser::Lite::Tree module. Granted Flickr's REST interface is simple ... it just happened to be the last straw.

        Let me formally apologize to anyone that took offense and especially to you.

        Jason L. Froebe

        Blog, Tech Blog

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://737584]
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-18 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found