There's more than one way to do things | |
PerlMonks |
Re: Perl best practices fanatismby chromatic (Archbishop) |
on Dec 09, 2007 at 02:05 UTC ( [id://655915]=note: print w/replies, xml ) | Need Help?? |
I like Perl::Critic, but once in a while I run across a policy that's completely wrong. My personal example today is the one to prohibit conditionals in declarations. That's right for lexicals, because of the unwarned and almost always entirely unwanted pseudo-static behavior exhibited through Perl 5.8... but the policy bafflingly warns about the construct for local variables, which do not exhibit this problem at all. If I could remember the name of the policy, I'd file a bug against it.
In Section
Meditations
|
|