Cpan

CPAN(1) Perl Programmers Reference Guide CPAN(1)

Cpan

CPAN(1) Perl Programmers Reference Guide CPAN(1) # CPAN(1) Perl Programmers Reference Guide CPAN(1) NNAAMMEE # cpan - easily interact with CPAN from the command line SSYYNNOOPPSSIISS # # with arguments and no switches, installs specified modules cpan module_name [ module_name ... ] # with switches, installs modules with extra behavior cpan [-cfFimtTw] module_name [ module_name ... ] # use local::lib cpan -I module_name [ module_name ... ] # one time mirror override for faster mirrors cpan -p . ...

CPAN(3p) Perl Programmers Reference Guide CPAN(3p)

Cpan

CPAN(3p) Perl Programmers Reference Guide CPAN(3p) # CPAN(3p) Perl Programmers Reference Guide CPAN(3p) NNAAMMEE # CPAN - query, download and build perl modules from CPAN sites SSYYNNOOPPSSIISS # Interactive mode: perl -MCPAN -e shell --or-- cpan Basic commands: # Modules: cpan> install Acme::Meta # in the shell CPAN::Shell->install("Acme::Meta"); # in perl # Distributions: cpan> install NWCLARK/Acme-Meta-0.02.tar.gz # in the shell CPAN::Shell-> install("NWCLARK/Acme-Meta-0.02.tar.gz"); # in perl # module objects: $mo = CPAN::Shell->expandany($mod); $mo = CPAN::Shell->expand("Module",$mod); # same thing # distribution objects: $do = CPAN::Shell->expand("Module",$mod)->distribution; $do = CPAN::Shell->expandany($distro); # same thing $do = CPAN::Shell->expand("Distribution", $distro); # same thing DDEESSCCRRIIPPTTIIOONN # The CPAN module automates or at least simplifies the make and install of perl modules and extensions. ...