Author Login
Post Reply
On Wed, Jul 9, 2008 at 9:23 PM, Stephen Clouse <stephenclouse@(protected):
> We had Perl::Critic for the Perl side of the app, and I've done some hacks
> to criticize the Mason code, but someone had disabled the
> ProhibitConditionalDeclarations policy.
I'm thrilled to hear that this ultimately was valuable because I
suggested that policy. It would be great if you'd share your hack to
make Critic work on Mason code somewhere.
> It's interesting that this didn't manifest under Perl 5.8.
And a little scary, since some people definitely have this bug and the
warning for it in 5.10 was removed before release.
- Perrin