Slashdot Mirror


XML::Simple for Perl Developers

An anonymous reader writes "XML has become pervasive in the computing world and is buried more and more deeply into modern applications and operating systems. It's imperative for the Perl programmer to develop a good understanding of how to use it. In a surprisingly large number of cases, you only need one tool to integrate XML into a Perl application, XML::Simple. This article tells you where to get it, how to use it, and where to go next."

6 of 186 comments (clear)

  1. Who The Hell Still Uses Perl? by Anonymous Coward · · Score: 0, Flamebait

    Outside of non-professional teenage Slashdot readers who still think the shitty Perl syntax is 'kewl', who the hell cares about the language anymore?

    http://www.ruby-lang.org/en/

    1. Re:Who The Hell Still Uses Perl? by shobadobs · · Score: 1, Flamebait
    2. Re:Who The Hell Still Uses Perl? by poopdeville · · Score: 0, Flamebait

      But I wrote tons of perl before I discovered Python and it is a long, long road to upgrade all that stuff. But every time I do one, I get a more maintainable, more english-like tool. Sometimes it takes me several minutes to even understand what the heck a perl script (even one of mine) is trying to do.

      That's your own damn fault.

      --
      After all, I am strangely colored.
    3. Re:Who The Hell Still Uses Perl? by Elias+Israel · · Score: 0, Flamebait

      A well-designed programming language enables great programmers to create masterworks, encourages good programmers to produce great code, and makes bad programmers go looking for another profession.

      Perl causes great programmers to produce good-enough code, makes good programmers produce bad code, and enables bad programmers to consider themselves software experts.

      That said, anything that permits programmers in any language to work in XML is probably a good thing. Might teach them a few things about structure, flow, and interoperability.

      Now you kids get off my lawn.

    4. Re:Who The Hell Still Uses Perl? by nuzak · · Score: 0, Flamebait

      PHP is an oddity -- the syntax is okay, and since PHP5 it actually has some nice features like interfaces that move it toward an optional-static-typing model.

      But the language is still a dumping ground of half-assed inconsistent global functions and it still demands those ridiculous PI tags surrounding every source. It still has problems dealing with its own object reference semantics (the === operator doesn't actually compare references for example). It's got the syntax down, at least as a "sane perl" goes, but virtually nothing else.

      Maybe PHP6 will make PHP tolerable. Considering that the same morons are designing it, I'm not holding my breath.

      --
      Done with slashdot, done with nerds, getting a life.
  2. Re:Bah, who the hell still uses perl? by KermodeBear · · Score: 0, Flamebait

    Ah, and now I can say that I've only known three languages to be referenced to as write only - Perl being one of them (TECO and APL being the other two).

    Regardless, even though the reputation is a shared one that doesn't make it a good thing.

    --
    Love sees no species.