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.
  • You know, when I saw that on the CPAN recent modules list I'd wondered if it had been prompted by the article. Good to know people are reading my stuff ;-)
    • Your assertions about XS in there were quite correct. ;-)

      The other thing I really admire about the ruby version is the block syntax. Of course, it's possible in Perl, just ugly. And no, I refuse to use a source filter.

      But yes, thanks for the inspiration!


      • Another thing that wasn't mentioned in the article, but which is present in the latest version is a builder mode, so you can do stuff like this:

        require 'genx/builder'

        w =

        w.builder do |b|

        And get output like this:


        This also caches elements and attributes so they don't get recreated each time through, and it a

        • I'm glad I'm not the only one implemented it "because it looks interesting". ;-)

          That said, it's one of those things that I'm sure I'll find a use for before long, probably at work.


        • Looking closer at that, I implemented something similiar [] before... That was interesting; I wanted to see how closures and SAX would go together.