Elliot Shank > Perl-Critic > KomodoIntegration

Download:
Perl-Critic-1.105.tar.gz

Annotate this POD

Website

CPAN RT

New  22
Open  66
Stalled  2
View Bugs
Report a bug
Source  

NAME ^

KomodoIntegration - Integrating perlcritic and Komodo.

DESCRIPTION ^

This document describes the steps for integrating perlcritic with Komodo 4.0 from ActiveState. More information about Komodo can be found at http://www.activestate.com

UPDATE: As of version 5.1.1, Komodo has built-in support for Perl::Critic. All you need to do is install Perl::Critic and criticism. For more information, have a look at http://trentm.com/blog/archives/2009/04/02/komodo511/

These instructions assume that perlcritic has been installed somewhere in your $PATH. If it is not in your $PATH, you must give the full path to perlcritic instead of using the -S switch. Also, I'm assuming that you have installed Perl-Critic with the same Perl that Komodo is using. If that is not the case, you'll probably have to give a full path to perl instead of using the %perl placeholder.

Now to run perlcritic on the current file, just press Ctrl-Alt-p, or select perlcritic from the Toolbox menu. Each time, you will be prompted to enter the minimum severity level (defaulting to 5). After a few moments, the output will appear in the Command Output pane. By double-clicking on the output messages, you can navigate to the appropriate point in the code.

AUTHOR ^

Jeffrey Ryan Thalhammer <thaljef@cpan.org>

COPYRIGHT ^

Copyright (c) 2005-2009 Jeffrey Ryan Thalhammer. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.