Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Perl::Critic::Command(User Contributed Perl DocumentatPerl::Critic::Command(3)

NAME
       Perl::Critic::Command - Guts of perlcritic.

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

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

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

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

IMPORTABLE SUBROUTINES
       "run()"
	   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.

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

       Turn this into an object.

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

COPYRIGHT
       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.24.1			  2017-07-02	      Perl::Critic::Command(3)

NAME | SYNOPSIS | DESCRIPTION | INTERFACE SUPPORT | IMPORTABLE SUBROUTINES | TO DO | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Perl::Critic::Command&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help