[Chicago-talk] A Perl::Critic question

Elliot Shank chicago.pm at galumph.com
Mon Apr 12 04:46:42 PDT 2010

On 4/11/10 10:20 PM, Jonathan Rockway wrote:
> How come you guys don't just walk the DOM?

What do you think P::C spends most of its time doing?

> Find the "no critic" comment, and go backwards from there until you
> hit something interesting ("sub" in this case, "some random line of
> code" in other cases).

Uh... No.

How is P::C supposed to know whether or not you mean to affect a sub with a "## no critic" that's inside the sub?

More information about the Chicago-talk mailing list