otype
[option
] [value
]
Sets and queries options. Takes the following arguments:
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
:
Variable | Content |
---|---|
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 |
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 |
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) |
The CPAN module configuration option or options; used with
conf
. Can be one or more scalar or list options from the table above.
Value to be set for a configuration option.
The possibilities for
o conf
are:
o conf
scalaropt
Prints current value of scalar option
o conf
scalaropt value
Sets scalar option to value
o conf
listopt
Prints current value of list option in MakeMaker format
o conf
listopt
[shift|pop]
Shifts or pops the array in listopt variable
o conf
listopt
[unshift|push|splice]
list
Works like the corresponding Perl functions to modify the array in listopt based on list
Copyright © 2001 O'Reilly & Associates. All rights reserved.