############################################### ### CPANPLUS::Config ### ### Configuration structure for CPANPLUS ### ############################################### #last changed: Thu Jan 27 17:21:27 2005 GMT ### minimal pod, so you can find it with perldoc -l, etc =pod =head1 NAME CPANPLUS::Config =head1 DESCRIPTION This is your CPANPLUS configuration file. Editing this config changes the way CPANPLUS will behave =cut package CPANPLUS::Config; $VERSION = "0.050_04"; $MIN_CPANPLUS_VERSION = "0.050_03"; use strict; sub new { my $class = shift; my $conf = { '_fetch' => { 'blacklist' => [ 'ftp' ] }, '_daemon' => { 'password' => '[A PASSWORD OFC]', 'port' => '12345', 'username' => 'username' }, 'conf' => { 'verbose' => 1, 'hosts' => [ { 'path' => '/ftp/cpan', 'scheme' => 'file', 'host' => '' }, { 'path' => '/cpan/', 'scheme' => 'ftp', 'host' => 'ftp.n0i.net' }, { 'path' => '/pub/mirrors/ftp.cpan.org', 'scheme' => 'ftp', 'host' => 'ftp.iasi.roedu.net' } ], 'storable' => 1, 'skiptest' => 0, 'makeflags' => '', 'fetchdir' => '', 'email' => 'cpanplus@example.com', 'dist_type' => '', 'timeout' => 30, 'prefer_makefile' => 0, 'makemakerflags' => 'LIB=~/perl/lib INSTALLMAN1DIR=~/perl/man/man1 INSTALLMAN3DIR=~/perl/man/man3', 'debug' => 0, 'lib' => [ '~/perl/lib' ], 'shell' => 'CPANPLUS::Shell::Default', 'prefer_bin' => 0, 'base' => $ENV{HOME} . '/.cpanplus', 'extractdir' => '', 'no_update' => 0, 'buildflags' => 'install_base=~/perl', 'force' => 0, 'cpantest' => 0, 'prereqs' => '1', 'flush' => 1, 'signature' => 0, 'allow_build_interactivity' => 1, 'passive' => 1, 'md5' => 1 }, 'program' => { 'perl' => '', 'make' => '/usr/bin/make', 'editor' => '/usr/bin/joe', 'pager' => '/usr/bin/less', 'shell' => '/bin/bash', 'sudo' => '' }, '_source' => { 'auth' => '01mailrc.txt.gz', 'hosts' => 'MIRRORED.BY', 'stored' => 'sourcefiles', 'dslip' => '03modlist.data.gz', 'update' => '86400', 'mod' => '02packages.details.txt.gz' }, '_build' => { 'moddir' => 'build/', 'distdir' => 'dist/', 'startdir' => '', 'plugins' => 'plugins/', 'sanity_check' => 1, 'autdir' => 'authors/', 'autobundle_prefix' => 'Snapshot', 'autobundle' => 'autobundle/' }, '_mirror' => { 'auth' => 'authors/01mailrc.txt.gz', 'base' => 'authors/id/', 'dslip' => 'modules/03modlist.data.gz', 'mod' => 'modules/02packages.details.txt.gz' }, '_dist' => { 'CPANPLUS::Dist::MM' => 1, 'CPANPLUS::Dist::Build' => 1 } }; bless($conf, $class); return $conf; } #new 1;