Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • That this isn't an XML parser. It is majorly broken in various ways. It's more of a tag-soup parser. I still think you should change the name of it.
    • You're right. It should be called "XML::Retarded", and come with a special helmet that its users should have to wear for if/when they walk into a door and go bonk and cry.

      And what's this guy going on about the other modules having too many dependencies? XML::Parser::Lite has none, last I looked. And wasn't RETARDED.

      • Heh... I once wrote a module XML::Stupid that had a similar interface to XML::Simple but relied on having one text element per line and no attributes. So it could parse only XML like

                <container>
                      <text1>Hello</text1>
                      <text2>There</text2>
                </container>

        I wrote it for speed, grinding line-by-line through some big and nasty credit ratings files from S&P. They also used all uppercase for the element names. Of course I was much too ashamed to consider distributing this module.

        I don't think there is anything wrong with parsing a limited subset of XML provided you clearly advertise you're doing that.
        --
        -- Ed Avis ed@membled.com