in reply to Re: Perl::Critic reports an error
in thread Perl::Critic reports an error

This can very well be it: # perl -MPPI -e 'print PPI->VERSION' 1.201

Thanks for pointing this out to me, I didn't find this requirement anywhere. I'm also having a few issues with CPAN, it's not automatically installing the newest version of a module. I have to force it by manually specifying the .tar.gz file. But I guess that's another issue.

Also thanks to Khen1950fx, I'll see if I can use that script.

Replies are listed 'Best First'.
Re^3: Perl::Critic reports an error
by ikegami (Patriarch) on Dec 14, 2009 at 18:49 UTC

    I didn't find this requirement anywhere.

    Then I imagine you didn't use the installer or cpan. Also see the distribution's META.yml.

      I used CPAN. But as I mentioned I had to force the installation of the newest Perl::Critic version with:

      force install E/EL/ELLIOTJS/Perl-Critic-1.105.tar.gz

      It probably wasn't a good idea to do it this way and I should have tried to resolve the problems I have with CPAN first.

      Edit: OK, thanks again for you help. I reinstalled PPI and now Perl::Critic works correctly.