*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> cpan (1)              



NAME    [Toc]    [Back]

       cpan - easily interact with CPAN from the command line

SYNOPSIS    [Toc]    [Back]

               # with arguments, installs specified modules
               cpan module_name [ module_name ... ]

               # with switches, installs modules with  extra  behavior
               cpan [-cimt] module_name [ module_name ... ]

               # without arguments, starts CPAN shell

               # without arguments, but some switches
               cpan [-ahrv]

DESCRIPTION    [Toc]    [Back]

       This script provides a command interface (not a shell) to

       Meta Options    [Toc]    [Back]

       These options are mutually exclusive, and the script processes
 them in this order: [ahvr].  Once the script finds
       one, it ignores the others, and then exits after it finishes
 the task.  The script ignores any other command line

       -a  Creates the CPAN.pm autobundle with CPAN::Shell->autobundle.

       -h  Prints a help message.

       -r  Recompiles dynamically loaded modules with

       -v  Print the script version and CPAN.pm version.

       Module options    [Toc]    [Back]

       These options are mutually exclusive, and the script processes
 them in alphabetical order.

       c   Runs a `make clean` in the specified module's directories.

       i   Installed the specified modules.

       m   Makes the specified modules.

       t   Runs a `make test` on the specified modules.

               # print a help message
               cpan -h

               # print the version numbers
               cpan -v

               # create an autobundle
               cpan -a

               # recompile modules
               cpan -r

               # install modules
               cpan -i Netscape::Booksmarks Business::ISBN

TO DO    [Toc]    [Back]

       * add options for other CPAN::Shell functions autobundle,
       clean, make, recompile, test

BUGS    [Toc]    [Back]

       * none noted

SEE ALSO    [Toc]    [Back]

       Most behaviour, including environment variables and configuration,
 comes directly from CPAN.pm.

AUTHOR    [Toc]    [Back]

       brian d foy <bdfoy@cpan.org>

perl v5.8.5                 2002-11-06                          2
[ Back ]
 Similar pages
Name OS Title
edit Tru64 Edits a file line by line with a simplified command set
ipxfargc IRIX Returns the number of command-line arguments excluding the command name
VkForkIO IRIX Command-line interface to shell command component
getopt Linux Parse command line options
openssl OpenBSD OpenSSL command line tool
parseargv IRIX process command-line options
pxfgetarg IRIX Returns a command-line argument
vlcmd IRIX Video Library command line interface
Getopt::Long IRIX extended processing of command line options
getarg IRIX return Fortran command-line argument
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service