Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Request for Perl::Critic Testimonials

by CountZero (Bishop)
on Jul 16, 2006 at 20:30 UTC ( [id://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/Sub.pm 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?

CountZero

"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.

      CountZero

      "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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://561596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-28 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found