Name

o

Synopsis

o type [option] [value]

Description

Sets and queries options. Takes the following arguments:

type

Type of options to set or query. The possible values are:

debug

Debugging options. Prints CPAN module options for debugging the package.

conf

Configuration options. Lists or sets values for CPAN module configuration variables kept in the hash %CPAN::Config. Here are the configuration variables from %CPAN::Config:

VariableContent
build_cache

Size of cache for directories to build modules

build_dir

Locally accessible directory to build modules

index_expire

Number of days before refetching index files

cpan_home

Local directory reserved for this package

gzip

Location of external program gzip

inactivity_timeout

Breaks an interactive Makefile.PL after inactivity_timeout seconds of inactivity (set to 0 to never break)

inhibit_startup_message

If true, does not print startup message

keep_source

If set, keeps source in local directory

keep_source_where

Where to keep source

make

Location of external make program

make_arg

Arguments to always pass to make

make_install_arg

Same as make_arg for make install

makepl_arg

Arguments to always pass to perl Makefile.PL

pager

Location of external more program (or other pager)

tar

Location of external tar program

unzip

Location of external unzip program

urllist

Arrayref to nearby CPAN sites (or equivalent locations such as CD-ROM)

option

The CPAN module configuration option or options; used with conf. Can ...

Get Perl in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.