PPIT(1p) User Contributed Perl Documentation PPIT(1p)NAME
ppit - pit for perl
SYNOPSIS
$ ppit [get|set|switch] <value>
$ ppit help
Options:
get <name> => Get values of <name>.
set <name> => Config values of name with $EDITOR.
switch <profile> => Switch profile to <profile>.
help => show this manual
DESCRIPTION
pit command for Perl
AUTHOR
Kazuhiro Osawa
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
<http://lowreal.rubyforge.org/pit/> Config::Pit
perl v5.10.1 2010-01-14 PPIT(1p)
Check Out this Related Man Page
Perl::Critic::UserProfile(3pm) User Contributed Perl Documentation Perl::Critic::UserProfile(3pm)NAME
Perl::Critic::UserProfile - The contents of the user's profile, often .perlcriticrc.
DESCRIPTION
This is a helper class that encapsulates the contents of the user's profile, which is usually stored in a .perlcriticrc file. 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( -profile =" $p ) >
-profile is the path to the user's profile. If -profile is not defined, then it looks for the profile at ./.perlcriticrc and then
$HOME/.perlcriticrc. If neither of those files exists, then the UserProfile is created with default values.
This object does not take into account any command-line overrides; Perl::Critic::Config does that.
METHODS
" options_processor() "
Returns the Perl::Critic::OptionsProcessor object for this UserProfile.
" policy_is_disabled( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns true if the user has disabled that policy in their
profile.
" policy_is_enabled( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns true if the user has explicitly enabled that policy in
their user profile.
" policy_params( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns a Perl::Critic::PolicyConfig for the user's
configuration parameters for that policy.
" raw_policy_params( $policy ) "
Given a reference to a Perl::Critic::Policy object or the name of one, returns a reference to a hash of the user's configuration
parameters for that policy.
" listed_policies() "
Returns a list of the names of all the Policies that are mentioned in the profile. The Policy names will be fully qualified (e.g.
Perl::Critic::Foo).
" source() "
The place where the profile information came from, if available. Usually the path to a .perlcriticrc.
SEE ALSO
Perl::Critic::Config, Perl::Critic::OptionsProcessor
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::UserProfile(3pm)
i have this code that i want to run but it is not working
i.e if the user slected say production it will then run the command for production
any ideas what i need to change
set question to choose from list {"production"}
set answer to question
if answer question is "Production: then ... (5 Replies)
Hi,
I am trying to write a PBS shell script that launches a bash process. The issue is that the bash process needs a variable in it and the shell script is interpreting the variable. How do I pass this as a literal string? Here is my code snippit:
TMP=".fasta"
FILEOUT=$FILE$TMP
cd... (2 Replies)
Hi, I was debating if I should put this in the dummies or scripts section, I apologize in advance if I chose poorly.
Fairly new to Unix and BASH scripting but I thought I made it fairly well given my limited understanding. However, the output indicates that it's looping and I'm ending up with a... (5 Replies)
I have several applications locked to Solaris 8 (and older) and have been very happy with my Sparcs and Ultras but am getting tinnitus problems from fans and disks.
Any tips on a quiet thin client (with decent graphics, not video or gaming level but 24bit and multi monitor would be useful) that... (0 Replies)
Hi All,
This is the first time I have posted to this forum so please bear with me. Thanks also advance for any help or guidance.
For a project I need to do the following.
1. There are multiple files in multiple locations so I need to find them and the location. So I had planned to use... (9 Replies)
Hi all,
I am writing a phonebook program to store names and number using a list. Here is the code for the function which allows the user to enter the name and number (where the error occurs).
//THIS FUNCTION ADDS A NEW ENTRY TO THE phonebook_list
void insert(void){
//variables
int... (5 Replies)
Hi,
I have this piece of code but I can not understand it in details and it is difficult to find in net. What is the function of the $, type, d and prefix here?
This script wants to get each file from their directory.
Thanks in advance.
for i in $(find /file directory/ -type d | grep... (4 Replies)
This basic code works.
I have a very long list, almost 10000 lines that I am building into the array. Each line has either 2 or 3 fields as shown in the code snippit. The array elements are static (for a few reasons that out of scope of this question) the list has to be "built in".
It... (5 Replies)
Here's a snippit from a script I'm working on
srvctl config database | \
awk -F\" '{print "srvctl config database -d " $1 " -a" \
RS "echo =================================================="}' \
> /tmp/x$$.sh
chmod 777 /tmp/x$$.sh
/tmp/x$$.sh
As you can see, I'm piping the... (12 Replies)
Hi,
I've got a regex match to perform in a Bash script and can't quite get it right.
Basically I want to match all IP address like sequences in a file which may or may not contain an IP address but with the extra qualification of ignoring any IP-like sequence which begins and ends with a... (27 Replies)
Good day people,
Kindly advice on below please.
1) Formatting/ Arithmetic operation of given date
I understand from the AIX man date and some research that flag -d is not applicable for AIX shell scripting and some of the UNIX command date command is not available in AIX.
Please advice... (1 Reply)
Hi, I am trying to switch from windows to linux.
I have been using Autohotkey scripts for some little things.
I started writing some bash scripts for NEMO browser in linux mint and I am trying to convert some of AHK scripts but as I am not a programmer. I have a hard time with regex stuff.
... (3 Replies)