[Chicago-talk] A Perl::Critic question

Mike Fragassi frag at ripco.com
Fri Apr 9 14:33:22 PDT 2010

This is not a big deal, but is confusing me.

According to the docs, both of these should turn off Perl::Critic within 

1)  sub foo { ## no critic
2)  sub foo {
        ## no critic

But I'm finding that only the former works.  Is there something about 
the #2 form that I'm missing?  (This is with the most recent 
Perl::Critic and perl 5.8.5.)

-- Mike F.

More information about the Chicago-talk mailing list