News for hackers. Stuff that matters.
Re:Why I Left Perl by hythloday on Monday February 13, 2012 @08:09PM (#3588141)
if there are 469 pages of best practices more important than "use strict", I think "insane" is a fair description of the language.

I'm not making the point it's impossible to write good Perl, because I know it's possible, I'm saying it's easy to write bad Perl - much easier than in most other languages I've seen.

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.)