Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of chorny (7137)

Monday August 31, 2009
07:44 AM

Perlcritic standalone for Windows

[ #39559 ]

Installing Perl::Critic from CPAN may be hard for a beginner, but I consider perlcritic useful for them too.
Possible problems are using CPAN shell and failing installations of modules. Of course you can use it directly on perlcritic.com, but you will not be able to use command line options like verbosity level and there can be privacy concerns. So I decided to create an executable for Windows. It was necessary to patch Module::ScanDeps to pack Perl::Critic correctly. I committed changes to SVN and when new version will be released, you will be able to build it yourself on any OS. Command line to build is

> pp -M PPI::XS -M Readonly::XS %PATH_TO_YOUR_BIN%/perlcritic

PPI::XS and Readonly::XS are C versions of parts of PPI and Readonly. They are used automatically by corresponding modules when they are available.

Now beginners can use Perl::Critic without installing it. I'm planning to update this file periodically. I also want to make Perl::Critic more friendly to beginners.

Please link to http://chorny.net/perl/perlcritic.html - page with instructions, not to exe file directly.

If you want to use Perl::Critic on iPhone, it recently became available in Cydia repository.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.