How to Reconfigure CPAN
I cant change the CPAN configuration, I am trying to install some modules
So I went to :
/usr/lib/perl5/5.8.6/CPAN
and vi Config.pm
I have tried to add my ftp proxy in here:
$CPAN::Config = {
'build_cache' => q[10],
'build_dir' => q[/root/.cpan/build],
'cache_metadata' => q[1],
'cpan_home' => q[/root/.cpan],
'dontload_hash' => { },
'ftp' => q[/bin/ftp],
'ftp_proxy' => q[],
'getcwd' => q[cwd],
'gpg' => q[/usr/bin/gpg],
'gzip' => q[/bin/gzip],
'histfile' => q[/root/.cpan/histfile],
'histsize' => q[100],
'http_proxy' => q[],
'inactivity_timeout' => q[0],
'index_expire' => q[1],
'inhibit_startup_message' => q[0],
'keep_source_where' => q[/root/.cpan/sources],
'lynx' => q[/usr/bin/lynx],
Read Config.pm, 44 lines, 1234 chars
but it wont work, How can I reconfig my CPAN in order to add my new ftp proxy
Thanks.
|