bluedot.net

September 11, 2004

Reformed Perl - Third millenium syntax for Perl 5 OOP

Filed under:Perl — sps @ 4:30 pm

I havent tried this out, but it looks interesting: reformed perl. some snips:

Rather than using the cumbersome use base 'Parent' you may write:
package Child < Parent;

It is no longer necessary to fish method parameters out of @_:
    sub method($foo, $bar)
    {
        print "First param: $foo";
        print "Second param: $bar";
    }

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Blue Dot
  • StumbleUpon
  • Technorati
  • Reddit
  • YahooMyWeb
end

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.