Perl::Critic::Command - Guts of L.


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.

Index


NAME

Top

Perl::Critic::Command - Guts of perlcritic (perlcritic).

SYNOPSIS

Top

    use Perl::Critic::Command qw< run >;

    local @ARGV = qw< --statistics-only lib bin >;
    run();




DESCRIPTION

Top

This is the implementation of the perlcritic (perlcritic) command. You can use this to run the command without going through a command interpreter.

INTERFACE SUPPORT

Top

This is considered to be a public class. However, its interface is experimental, and will likely change.

IMPORTABLE SUBROUTINES

Top

run()

Does the equivalent of the perlcritic (perlcritic) command. Unfortunately, at present, this doesn't take any parameters but uses @ARGV to get its input instead. Count on this changing; don't count on the current interface.

TO DO

Top

Make run() take parameters. The equivalent of @ARGV should be passed as a reference.

Turn this into an object.

AUTHOR

Top

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT

Top


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.