in reply to Perlcritic Problem

I haven't used ActiveState for years and am completely unfamiliar with their packaging system. But this seems to suggest that you need also to install: "Perl::Critic::Policy::Variables". Did that come in as a dependency and as a part of Perl::Critic? If so, does it's code include a method (subroutine) called default_severity?

-- Hugh

if( $lal && $lol ) { $life++; }

Replies are listed 'Best First'.
Re^2: Perlcritic Problem
by Anonymous Monk on Jun 21, 2006 at 03:57 UTC
    This is due to a recent regression in Module::Pluggable v3.01. It's mistakenly trying to load a directory as if it were a .pm file. Workarounds: 1) Upgrade to Perl::Critic 0.17, which is now on CPAN. 2) Downgrade to Module::Pluggable 3.0 or 2.97 I've relayed the bug to the Module::Pluggable author. -- Chris Dolan
      Being ever so slightly paranoid, I DL'd 17 just a bit ago, I'll try and install that and give it a shot. Thanks for the tip.

      --hsm

      "Never try to teach a pig to sing...it wastes your time and it annoys the pig."
Re^2: Perlcritic Problem
by hsmyers (Canon) on Jun 21, 2006 at 02:57 UTC
    Actually there are 76 instances of the method in question with 6 of them in the Variable hierarchy--- so the answer is a definite yup! BTY, good name Hugh, I use it myself; ever notice that most of the rest of the world can't spell and usually mispronounce it?

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."