News for hackers. Stuff that matters.
Re:Programming Style Evolution in Perl by ajross on Monday January 11, 2010 @05:44PM (#1046232)
Sure, but that's trivially fixable with a few my's scattered around. It doesn't change the character of the solution, which is why I thought the complaints were mostly straw men. Sure, you can do dumb stuff in perl, and people might have written like that. But that by itself isn't an argument for "new style perl" (which specifically seems to mean Moose here). You can also write clean and clear perl in "90's style".
Re:Programming Style Evolution in Perl by draegtun on Monday January 11, 2010 @06:32PM (#1046326)
I think you taking the examples more literally than the author intended (NB. the authors mothers tongue isn't english).

Some of the points I believe the author is trying to get across:

  * Always have "use strict;" (and declare variables scope)

  * Make use of CPAN (eg. Term::Readline)

  * Don't use indirect object syntax

  * And use Moose if doing OO
These are all good modern perl practices.