A better implementation of that patch would be:

BEGIN {
      eval { require Test::Perl::Critic; };
      if ($@) {
          plan skip_all => 'Test::Perl::Critic not installed';
      }
      Test::Perl::Critic->import(-verbose => 7);


Thanks Chris!  I didn't know how to maintain the verbose flag any
other way, but now I know.  With every patch my perl foo improves...
See attached patch for latest version.

BTW: did you get the perl shebang line patches for Perl::Critic?

Paul

Attachment: perlcritic_t.patch
Description: Binary data

Reply via email to