Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

if(3pm) [osx man page]

if(3pm) 						 Perl Programmers Reference Guide						   if(3pm)

if - "use" a Perl module if a condition holds SYNOPSIS
The construct use if CONDITION, MODULE => ARGUMENTS; has no effect unless "CONDITION" is true. In this case the effect is the same as of use MODULE ARGUMENTS; Above "=>" provides necessary quoting of "MODULE". If not used (e.g., no ARGUMENTS to give), you'd better quote "MODULE" yourselves. BUGS
The current implementation does not allow specification of the required version of the module. AUTHOR
Ilya Zakharevich <>. perl v5.16.2 2012-10-11 if(3pm)

Check Out this Related Man Page

CPANP(1)						 Perl Programmers Reference Guide						  CPANP(1)

cpanp - The CPANPLUS launcher SYNOPSIS
cpanp cpanp [-]a [ --[no-]option... ] author... cpanp [-]mfitulrcz [ --[no-]option... ] module... cpanp [-]d [ --[no-]option... ] [ --fetchdir=... ] module... cpanp [-]xb [ --[no-]option... ] cpanp [-]o [ --[no-]option... ] [ module... ] DESCRIPTION
This script launches the CPANPLUS utility to perform various operations from the command line. If it's invoked without arguments, an interactive shell is executed by default. Optionally, it can take a single-letter switch and one or more argument, to perform the associated action on each arguments. A summary of the available commands is listed below; "cpanp -h" provides a detailed list. h # help information v # version information a AUTHOR ... # search by author(s) m MODULE ... # search by module(s) f MODULE ... # list all releases of a module i MODULE ... # install module(s) t MODULE ... # test module(s) u MODULE ... # uninstall module(s) d MODULE ... # download module(s) l MODULE ... # display detailed information about module(s) r MODULE ... # display README files of module(s) c MODULE ... # check for module report(s) from cpan-testers z MODULE ... # extract module(s) and open command prompt in it x # reload CPAN indices o [ MODULE ... ] # list installed module(s) that aren't up to date b # write a bundle file for your configuration Each command may be followed by one or more options. If preceded by "no", the corresponding option will be set to 0, otherwise it's set to 1. Example: To skip a module's tests, cpanp -i --skiptest MODULE ... Valid options for most commands are "cpantest", "debug", "flush", "force", "prereqs", "storable", "verbose", "md5", "signature", and "skiptest"; the 'd' command also accepts "fetchdir". Please consult CPANPLUS::Configure for an explanation to their meanings. Example: To download a module's tarball to the current directory, cpanp -d --fetchdir=. MODULE ... perl v5.16.2 2013-08-25 CPANP(1)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Comparison of 2 files in UNIX

Hi, There are two files in UNIX system with some lines are exactly the same, some lines are not. I want to compare these two files.The 2 files (both the files have data in Column format )should be compared row wise and any difference in data for a particular row should lead to storage of data of... (32 Replies)
Discussion started by: Dana Evans
32 Replies

2. Shell Programming and Scripting

Help with script, shutdown if no ping responce

Hi, i would like to create a script that shuts down the system if the power fails, basicly the solaris box would load the script at startup. Ping every 20 secs If cannot get responce 3 times in a row send init 0 to the system. Simple but effective, as wont be on... (39 Replies)
Discussion started by: ringofsteel
39 Replies

3. Shell Programming and Scripting

Swapping or switching 2 lines using sed

I made a script that can swap info on two lines using a combination of awk and sed, but was hoping to consolidate the script to make it run faster. If found this script, but can't seem to get it to work in a bash shell. I keep getting the error "Too many {'s". Any help here would be appreciated:... (38 Replies)
Discussion started by: LaTortuga
38 Replies

4. Shell Programming and Scripting

different files for different values

Hi I am writng a script to spool some account nos information to .txt file but wants that information for each and every account no to be written in a different .txt file with account no as part of the file name of its associated file. Thanks (32 Replies)
Discussion started by: ss_ss
32 Replies

5. Shell Programming and Scripting

match range of different numbers by AWK

if the column1 and 2 in both files has same key (for example "a" and "a1") compare each first key value(a1 of a) of input2 (for example 1-4 or 65-69 not 70-100 or 44-40 etc) with all the values in input1. if the range of first key value in input2 is outof range in input1 values named it as out... (54 Replies)
Discussion started by: repinementer
54 Replies

6. UNIX for Dummies Questions & Answers

How can i copy a list of files with different names into others directory have the same name?

dear all. how can i copy a list of files with different names into others directory have the same name like i have 3 files 10_10 10_10_11 10_10_11_12 and i have 3 directories 10_10 10_10_11 10_10_11_12 how can i make a loop to cp this files into the directory have the same name like... (31 Replies)
Discussion started by: t17
31 Replies

7. Shell Programming and Scripting

If statement is not working in KSH

#! /bin/ksh rm -f ./xyz file --- this line is working // Below any if stmt is not working. if then echo " blah blah " fi or I replaced above if with if then echo "dir exists" fi This is also not working. I am new to KSH. So can someone help why if stmt is not... (31 Replies)
Discussion started by: saggy9583
31 Replies

8. Shell Programming and Scripting

Help me pls : splitting single file in unix into different files based on data

I have a file in unix with sample data as follows : -------------------------------------------------------------- -------------------------------------------------------------- {30001002|XXparameter|Layout|$ I want this file to be splitted into different files and corresponding to the sample... (54 Replies)
Discussion started by: Ravindra Swan
54 Replies

9. Shell Programming and Scripting

Extract sequences of bytes from binary for differents blocks

Hello to all, I would like to search sequences of bytes inside big binary file. The bin file contains blocks of information, each block begins is estructured as follow: 1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33. 2- Next... (59 Replies)
Discussion started by: Ophiuchus
59 Replies

10. Shell Programming and Scripting

Need help on find and replacement on specific line and position

I have a file with 100 lines. On 50 th line , from position 5 to rest of the data , I need to change the occurrence of A to B and Occurrence of M to N. Input file : Line1 Line2 Line3 -- -- 12345ABCDEFM --- -- Line 100 Output Line1 Line2 (40 Replies)
Discussion started by: Rajesh_us
40 Replies

11. Shell Programming and Scripting

I want to find the difference between two files, only for the header (column names)

Hi All, I want to find the difference between two files, by checking only the headers (column names) and report if any new column is added in the latest file. For Ex: If the file "declartion.txt has these columns url;image;id;showcase_id;showcase_name and the actual file "feed.txt" has... (34 Replies)
Discussion started by: Praveen Pandit
34 Replies

12. UNIX for Beginners Questions & Answers

How Do I FTP System Files to Different Server?

Hello, I have a legacy system that is running on SCO OpenServer 5.0.6, and the hardware is becoming a little sketchy. I replaced the hard drive about a year ago, and was able to come back from a tape backup of my entire system. I have been successful with building a VM with VMware Workstation,... (42 Replies)
Discussion started by: spock9458
42 Replies