News for hackers. Stuff that matters.
Re:Why I Left Perl by berntb on Wednesday February 15, 2012 @06:30PM (#3596658)
Sigh, the best practices book is not only about syntax. Troll much? (If you do crave bondage and discipline use Java.)

There are advantages and disadvantages with everything. Some of Perl's advantages today are CPAN, Moose and quite extensible syntax.

This is a good example of those three advantages:

http://search.cpan.org/~flora/MooseX-Declare-0.35/lib/MooseX...

(Note the optional typing of method parameters and attributes.)

There are no comments on this comment yet.