Created
January 30, 2015 18:27
-
-
Save bruab/bb0d409994895d1a717f to your computer and use it in GitHub Desktop.
An effed up Perl configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
[bhall@moana][~]> module list | |
Currently Loaded Modulefiles: | |
1) rocks-openmpi | |
[bhall@moana][~]> echo $PERL5LIB | |
[bhall@moana][~]> echo $PERL5INC | |
[bhall@moana][~]> echo $INC | |
[bhall@moana][~]> module load perl/5.14.2 | |
[bhall@moana][~]> echo $PERL5LIB | |
/data0/opt/perl/perl-5.14.2/cpan/lib/site_perl/5.14.2/ | |
[bhall@moana][~]> echo $INC | |
[bhall@moana][~]> echo $PERL5INC | |
[bhall@moana][~]> which perl | |
/data0/opt/perl/perl-5.14.2/bin/perl | |
[bhall@moana][~]> which cpan | |
/data0/opt/perl/perl-5.14.2/bin/cpan | |
[bhall@moana][~]> cpan List::Util | |
CPAN: Storable loaded ok (v2.27) | |
Going to read '/export/cpan/cpan/Metadata' | |
Database was generated on Fri, 29 Aug 2014 00:17:02 GMT | |
CPAN: LWP::UserAgent loaded ok (v6.04) | |
CPAN: Time::HiRes loaded ok (v1.972101) | |
Warning: You are not allowed to write into directory "/export/cpan/cpan/sources/authors". | |
I'll continue, but if you encounter problems, they may be due | |
to insufficient permissions. | |
Fetching with LWP: | |
ftp://cpan-du.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz | |
Can't write to '/export/cpan/cpan/sources/authors/01mailrc.txt.gz.tmp23539-23539': Permission denied at /opt/perl/lib/site_perl/5.14.2/LWP/Protocol.pm line 105. at /opt/perl/lib/site_perl/5.14.2/LWP/UserAgent.pm line 915. | |
[bhall@moana][~]> cpan -J | |
$CPAN::Config = { | |
'cpan_home' => '/export/cpan/cpan', | |
'histfile' => '/export/cpan/cpan/histfile', | |
'unzip' => '/usr/bin/unzip', | |
'show_upload_date' => '0', | |
'yaml_load_code' => '0', | |
'lynx' => '', | |
'curl' => '/usr/bin/curl', | |
'ncftp' => '', | |
'urllist' => [ | |
'ftp://cpan-du.viaverio.com/pub/CPAN/', | |
'ftp://cpan-sj.viaverio.com/pub/CPAN/', | |
'ftp://cpan.erlbaum.net/CPAN/', | |
'ftp://cpan.hexten.net/', | |
'ftp://cpan.llarian.net/pub/CPAN/', | |
'ftp://cpan.mirrors.tds.net/pub/CPAN', | |
'ftp://cpan.netnitco.net/pub/mirrors/CPAN/', | |
'ftp://cpan.pair.com/pub/CPAN/', | |
'ftp://cpan.uchicago.edu/pub/CPAN/', | |
'ftp://ftp-mirror.internap.com/pub/CPAN/' | |
], | |
'keep_source_where' => '/export/cpan/cpan/sources', | |
'yaml_module' => 'YAML', | |
'prefer_installer' => 'MB', | |
'no_proxy' => '', | |
'build_cache' => '100', | |
'wget' => '/usr/bin/wget', | |
'auto_commit' => '1', | |
'patch' => '/usr/bin/patch', | |
'inactivity_timeout' => '0', | |
'scan_cache' => 'atstart', | |
'halt_on_failure' => '0', | |
'cache_metadata' => '1', | |
'term_ornaments' => '1', | |
'build_dir_reuse' => '0', | |
'perl5lib_verbosity' => 'v', | |
'load_module_verbosity' => 'v', | |
'mbuild_install_arg' => '', | |
'check_sigs' => '1', | |
'build_dir' => '/export/cpan/cpan/build', | |
'index_expire' => '1', | |
'test_report' => '0', | |
'pager' => '/usr/bin/less', | |
'http_proxy' => '', | |
'makepl_arg' => '', | |
'show_unparsable_versions' => '0', | |
'version_timeout' => '15', | |
'mbuild_install_build_command' => './Build', | |
'gzip' => '/bin/gzip', | |
'trust_test_report_history' => '0', | |
'ncftpget' => '', | |
'build_requires_install_policy' => 'yes', | |
'connect_to_internet_ok' => '1', | |
'getcwd' => 'cwd', | |
'make_install_make_command' => '/usr/bin/make', | |
'prefer_external_tar' => '1', | |
'make_arg' => '', | |
'ftp_proxy' => '', | |
'ftp_passive' => '1', | |
'tar' => '/bin/tar', | |
'use_sqlite' => '0', | |
'mbuildpl_arg' => '', | |
'show_zero_versions' => '0', | |
'ftp' => '/usr/kerberos/bin/ftp', | |
'prefs_dir' => '/export/cpan/cpan/prefs', | |
'shell' => '/bin/bash', | |
'prerequisites_policy' => 'follow', | |
'make' => '/usr/bin/make', | |
'gpg' => '/usr/bin/gpg', | |
'mbuild_arg' => '', | |
'applypatch' => '', | |
'inhibit_startup_message' => '0', | |
'commandnumber_in_prompt' => '1', | |
'bzip2' => '/usr/bin/bzip2', | |
'tar_verbosity' => 'v', | |
'make_install_arg' => '', | |
'term_is_latin' => '1', | |
'histsize' => '100', | |
'colorize_output' => '0' | |
}; | |
1; | |
__END__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From line 35 on, I can't figure out where these settings are stored. I'd like to change 'build_dir', for example.