Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Easily interact with CPAN from ...The CPANPLUS distribution creator (Berikutnya)
Utilities

The CPANPLUS launcher

Daftar Isi

NAME

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 operationsfrom the command line. If it's invoked without arguments, an interactiveshell 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 theavailable commands is listed below; cpanp -h provides a detailed list.

  1. h # help information
  2. v # version information
  3. a AUTHOR ... # search by author(s)
  4. m MODULE ... # search by module(s)
  5. f MODULE ... # list all releases of a module
  6. i MODULE ... # install module(s)
  7. t MODULE ... # test module(s)
  8. u MODULE ... # uninstall module(s)
  9. d MODULE ... # download module(s)
  10. l MODULE ... # display detailed information about module(s)
  11. r MODULE ... # display README files of module(s)
  12. c MODULE ... # check for module report(s) from cpan-testers
  13. z MODULE ... # extract module(s) and open command prompt in it
  14. x # reload CPAN indices
  15. o [ MODULE ... ] # list installed module(s) that aren't up to date
  16. 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,

  1. 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::Configurefor an explanation to their meanings.

Example: To download a module's tarball to the current directory,

  1. cpanp -d --fetchdir=. MODULE ...
 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Easily interact with CPAN from ...The CPANPLUS distribution creator (Berikutnya)