Perl::Critic::Command(3) User Contributed Perl Documentation Perl::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.16.3 2014-06-09 Perl::Critic::Command(3)
Check Out this Related Man Page
Perl::Critic::ThemeListing(3pm) User Contributed Perl Documentation Perl::Critic::ThemeListing(3pm)NAME
Perl::Critic::ThemeListing - List the themes of the installed Policies.
DESCRIPTION
This is a helper class that gathers the themes of the installed Policies. There are no user-serviceable parts here.
INTERFACE SUPPORT
This is considered to be a non-public class. Its interface is subject to change without notice.
CONSTRUCTOR
"new( -policies => @POLICY_OBJECTS )"
Returns a reference to a new "Perl::Critic::ThemeListing" object.
METHODS
to_string()
Returns a string representation of this "ThemeListing". See "OVERLOADS" for more information.
OVERLOADS
When a Perl::Critic::ThemeListing is evaluated in string context, it produces a one-line summary of the default severity, policy name, and
default themes for each Perl::Critic::Policy object that was given to the constructor of this "ThemeListing".
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.14.2 2012-06-07 Perl::Critic::ThemeListing(3pm)
I know that free command displays memory usages however I like to know how the option and the results when I use this command..
PLease respond ASAP
thanx... I am a newbie.. :D (1 Reply)
Hi, I'm searching website where there is software for HP-UX operating system in free download because I must install Perl, Make and Gmake on HP-UX server. Have you goods URL for me ?
Thank you very much!
bye
Staaan (2 Replies)
Hi,
I have a very simple C program which will run in UNIX. When i am passing * as the command line argument, i am gettig the below output.
Program:
#include <stdio.h>
#include "mylibrary.h"
int **environ;
int main(int argc,char *argv)
{
int i;
printf("\nHello... (2 Replies)
I saw someone use this line and sometimes I see it interchanged with EOF which I understand to mean end of file. What is the purpose of this usage?
cat something <<EOT
something else
EOT (2 Replies)
If i have a script name.pl
I run it like name.pl -v file.txt -t ext2 -u user -j
how can I edit the array @ARGV so when my script calls
$ARGV = -v file.txt
$ARGV = -j (2 Replies)
Hi,
:wall:
I am not able to run any utility command in Redat, Please see the below example and suggest me how I shall run this type of command.
$ su
Password:
# ifconfig
bash: ifconfig: command not found
# which ifconfig
/usr/bin/which: no ifconfig in... (3 Replies)
Hello All,
Does the sed "s/// command" have an equivalent to Perl's vertical pipe character "|", meaning 'OR'...
i.e. To say replace "a" or "b" with "m": (the pipe has a different function in sed... Does it have an 'OR' character?)
sed 's/(a|b)/m/g'
# This would work in perl (it would... (3 Replies)
Hi ,
I need to match module data_tx_dig (
I tried matching
~m/module(\s+)ARGV(\s+)\(/ --> (generic code)but is not working.The same is able to match when i provide hardcoded value instead of passing from the command line.
~m/module(\s+)data_tx_dig(\s+)\(/ -->(hardcoded code).Please help me... (8 Replies)
Ive been trying to move to Perl. It has been a struggle.
My question is, is there a good resource that explains nesting statements.
As an example.
To change
primary
Factory CTS 1.9.0(46) P1
*Slot 1 CTS 1.10.2(42) P1
To
primary *Slot 1 CTS 1.10.2(42) P1
... (5 Replies)
Hi There,
Actually I'm looking for command in Solaris 11 for the following
Command to do User Never Expire.
Command to return the user Expire to normal mode.
Command to do User Never Lock.
Command to return the user Never Lock to normal mode.
Please advice .. (1 Reply)
On my MAC - I get Command not found error for some command like mvn , java_home etc .
I CD to the actual directory to take path out of picture and even then i get the command not found error .
anyone else have the same problem ? (3 Replies)
The contents of my home directory:
bin Desktop Documents Downloads folders Music Pictures Public Templates Videos
When I run the command for file in /home/myself/*d*; do if ; then echo $file; fi; doneit finds
/home/myself/Downloads
/home/myself/Videos
but not "folders".
... (5 Replies)