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.
  • I have just discussed this subject on the Copenhagen Perl Mongers mailinglist - and I would very much like to see you Perl and C++ versions if there are publically available?
    • ok

      have a look at my C++ [] and the perl

      the perl code is more mature, but also organic while the C++ is a rewrite, so it is better done.

      I think I could get the perl to be better, based on the C++ class, then the LoC would be marginally less than the C++ but the difference would be a lot smaller than I expected. I could probably optimise the C++ for LoC as well so its looking pretty even.

      The key part is the constructor and the up,down, etc methods - this is the core of the class and you can see how the C


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