[Chicago-talk] A Perl::Critic question

Elliot Shank chicago.pm at galumph.com
Mon Apr 12 21:16:24 PDT 2010


On 4/12/10 1:44 PM, Mike Fragassi wrote:
> Thanks very much for that explanation; it really clears up a few
> misunderstandings I had. I think it's because of the following bit of
> POD, unless I'm still missing something.
>
> The "## no critic" annotations direct Perl::Critic to ignore the
> remaining lines of code _until the end of the current block_,
> or until a "## use critic" annotation is found (whichever comes first).

Yeah, I'd say that that was misleading; I will fix it for the next release.  But even if it were the case, you couldn't put a "## no critic" inside a sub for which you wanted to disable a policy.


More information about the Chicago-talk mailing list