1Perl::Critic::Command(3U)ser Contributed Perl DocumentatiPoenrl::Critic::Command(3)
2
3
4

NAME

6       Perl::Critic::Command - Guts of perlcritic.
7

SYNOPSIS

9           use Perl::Critic::Command qw< run >;
10
11           local @ARGV = qw< --statistics-only lib bin >;
12           run();
13

DESCRIPTION

15       This is the implementation of the perlcritic command.  You can use this
16       to run the command without going through a command interpreter.
17

INTERFACE SUPPORT

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

IMPORTABLE SUBROUTINES

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

TO DO

30       Make "run()" take parameters.  The equivalent of @ARGV should be passed
31       as a reference.
32
33       Turn this into an object.
34

AUTHOR

36       Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
37
39       Copyright (c) 2005-2011 Imaginative Software Systems.  All rights
40       reserved.
41
42       This program is free software; you can redistribute it and/or modify it
43       under the same terms as Perl itself.  The full text of this license can
44       be found in the LICENSE file included with this module.
45
46
47
48perl v5.32.0                      2020-07-28          Perl::Critic::Command(3)
Impressum