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 been pondering something like this for a while, although to be honest I am not a fan of slapping on a class OO system to the already perfectly fine prototype OO system of JS.

    Lets see some source though, I would be interested in knowing what hoops you had to jump though to make it work.

    - Stevan
    • Megadittos!

      This looks much better (sexier?) than the Java-esque hack I was trying to bolt on.

      Will this be showing up on JSAN anytime soon ?

    • This was a three hour project, so beware of zero documentation: Joose-Source []
  • I thought I felt dirty when Catalyst::View::PHP came out. This trumps that. :-)
    • Why? Unlike PHP, Javascript is actually a nice language. It has closures and syntax for regex literals, everything is an object, and it doesn’t confuse arrays with hashes. It doesn’t have lists or easy array flattening, and it’s usually syntactically more verbose than Perl, but usually semantically equally concise, because in many ways it is very similar to Perl.

      I wouldn’t be unhappy at all if I was forced to write Javascript for the rest of my life.