1CPANP(1) Perl Programmers Reference Guide CPANP(1)
2
3
4
6 cpanp - The CPANPLUS launcher
7
9 cpanp
10
11 cpanp [-]a [ --[no-]option... ] author....PP cpanp [-]mfitulrcz
12 [ --[no-]option... ] module....PP cpanp [-]d [ --[no-]option... ]
13 [ --fetchdir=... ] module....PP cpanp [-]xb [ --[no-]option... ]
14
15 cpanp [-]o [ --[no-]option... ] [ module... ]
16
18 This script launches the CPANPLUS utility to perform various operations
19 from the command line. If it's invoked without arguments, an
20 interactive shell is executed by default.
21
22 Optionally, it can take a single-letter switch and one or more
23 argument, to perform the associated action on each arguments. A
24 summary of the available commands is listed below; "cpanp -h" provides
25 a detailed list.
26
27 h # help information
28 v # version information
29
30 a AUTHOR ... # search by author(s)
31 m MODULE ... # search by module(s)
32 f MODULE ... # list all releases of a module
33
34 i MODULE ... # install module(s)
35 t MODULE ... # test module(s)
36 u MODULE ... # uninstall module(s)
37 d MODULE ... # download module(s)
38 l MODULE ... # display detailed information about module(s)
39 r MODULE ... # display README files of module(s)
40 c MODULE ... # check for module report(s) from cpan-testers
41 z MODULE ... # extract module(s) and open command prompt in it
42
43 x # reload CPAN indices
44
45 o [ MODULE ... ] # list installed module(s) that aren't up to date
46 b # write a bundle file for your configuration
47
48 Each command may be followed by one or more options. If preceded by
49 "no", the corresponding option will be set to 0, otherwise it's set to
50 1.
51
52 Example: To skip a module's tests,
53
54 cpanp -i --skiptest MODULE ...
55
56 Valid options for most commands are "cpantest", "debug", "flush",
57 "force", "prereqs", "storable", "verbose", "md5", "signature", and
58 "skiptest"; the 'd' command also accepts "fetchdir". Please consult
59 CPANPLUS::Configure for an explanation to their meanings.
60
61 Example: To download a module's tarball to the current directory,
62
63 cpanp -d --fetchdir=. MODULE ...
64
65
66
67perl v5.12.4 2011-11-04 CPANP(1)