Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Request for Perl::Critic Testimonials

by CountZero (Bishop)
on Jul 16, 2006 at 20:30 UTC ( #561596=note: print w/replies, xml ) Need Help??

in reply to Request for Perl::Critic Testimonials

Your node caused me to install Perl::Critic, something I wanted to do already a long time.

As I'm on Windows and using ActiveState Perl (5.8.7) I used ppm to install Perl::Critic and that install seemed to succeed.

Unfortunately whenever I try to "critique" a file, it always crashes with a message such as "Not a CODE reference at C:/Data/webserver/Perl/site/lib/PPI/Statement/ line 86.".

I have the latest version of PPI installed (version 1.115) and that install (through CPAN) and all tests went without a problem.

Anyone knows a solution?


"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^2: Request for Perl::Critic Testimonials
by Herkum (Parson) on Jul 16, 2006 at 23:07 UTC

    I am using Activestate Perl 5.8.8 with PPI 1.115, and Perl::Critic 0.17. I have no problems.

    The error does seem familiar however, I just cannot place my finger on it. Have you tried checking some other files or does it always return this error regardless of the file?

      As far as I could see, the error is fairly general and seems perhaps related to the checking of "pragma". At least, when I tried to re-install Perl::Critic with CPAN, the install gave an error when doing the "pragma" test.

      May be I should just switch to AS Perl 5.8.8 ... but I have tons of modules installed (some through ppm, some through CPAN) and it takes me days to re-install them all.


      "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

        I can understand that feeling... However if you upgrade from 5.8.7 to 5.8.8 the ActiveState Perl should not delete any of your modules, it should be a straight upgrade.

        That being said, I cannot promise that it will work perfectly, it is Windows you know... :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://561596]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2017-12-12 12:42 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (332 votes). Check out past polls.