12 Feb 2009

Locate your CPAN.pm's systemwide configuration file

Do you want to locate the CPAN.pm's systemwide configuration file on your Linux Machine, try this one liner:

perl -le 'for (@INC) { $_ .= $ARGV[0]; print if -f }' /CPAN/Config.pm /System/Library/Perl/CPAN/Config.pm

No comments:

Post a comment