Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • Until the last few opinionated sentences, I don't think it qualifies as flamebait or FUD at all. The Perl XML modules are a mess and a PITA to install and, if Jarkko's grumblings over Unicode and just how far Perl5 is from having real 'standard' Unicode support, then there may be some truth in what he says. I still really haven't figured out what XML is good for though either :)

    • I think he is missing that perl programmers tend to approach XML in a different manner to Java programmers.

      For example there are far more options in perl for parsing, creating, transforming and handling xml than in java.

      Not to mention perls ability to munge the data itself outside of validation. Why invoke all the overhead of an tree or parser object simply to output or parse in simple xml?

      For example I create Dia XML using Template Toolkit. Parsing info into an object and making the objects methods available to the template parser which populates the XML. The XML is complex but it is structured and ideal for templating. Far far quicker and easier than mucking about with XSLT or parsing in and creating out.

      Perl also provides allows dynamic creation of object attributes and methods - perfect for processing and handling XML structures - creating an object from XML and the methods to manipulate it.

      I think he is approaching XML from a Java programmers perspective and writing off the flexibility and innovation in perl. It would be good to give some examples of using perls unique abilities to process and munge XML and he will almost certainly require help if his perl is as bad as it sounds


      @JAPH = qw(Hacker Perl Another Just);
      print reverse @JAPH;