CentOS 7.0 - man page for perl::critic::command (centos section 3)
|Linux & Unix Commands - Search Man Pages
Perl::Critic::Command(3) User Contributed Perl Documentation Perl::Critic::Command(3)
Perl::Critic::Command - Guts of perlcritic.
use Perl::Critic::Command qw< run >;
local @ARGV = qw< --statistics-only lib bin >;
This is the implementation of the perlcritic command. You can use this to run the command
without going through a command interpreter.
This is considered to be a public class. However, its interface is experimental, and will
Does the equivalent of the 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.
Make "run()" take parameters. The equivalent of @ARGV should be passed as a reference.
Turn this into an object.
Jeffrey Ryan Thalhammer <email@example.com>
Copyright (c) 2005-2011 Imaginative Software Systems. 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.
perl v5.16.3 2014-06-09 Perl::Critic::Command(3)
All times are GMT -4. The time now is 09:18 AM.