From: Graham Knop Date: Thu, 31 Oct 2013 18:59:04 +0000 (-0400) Subject: clarify that prefix warnings are about CPAN configuration X-Git-Tag: 1.008025~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=119c1818e699762a9cde120fadb9bdff5e7c06ac;p=p5sagit%2Flocal-lib.git clarify that prefix warnings are about CPAN configuration --- diff --git a/Makefile.PL b/Makefile.PL index b6b5963..e0a0f2e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -217,9 +217,9 @@ unless ($ENV{PERL5_CPANM_IS_RUNNING}) { for my $eumm_setting ( qw/makepl_arg make_install_arg/ ) { if ($CPAN::Config->{$eumm_setting} =~ /(?:PREFIX|INSTALL_BASE)/) { die <<"DEATH"; -WHOA THERE! It looks like you've got $CPAN::Config->{$eumm_setting} set. This is -known to cause problems with local::lib. Please either remove this setting or -clear out your .cpan directory. +WHOA THERE! It looks like you've got $CPAN::Config->{$eumm_setting} set in +your CPAN config. This is known to cause problems with local::lib. Please +either remove this setting or clear out your .cpan directory. DEATH } } @@ -227,9 +227,9 @@ DEATH for my $mb_setting (qw/mbuild_arg mbuild_install_arg mbuildpl_arg/) { if ($CPAN::Config->{$mb_setting} =~ /(?:--prefix|--install_base)/) { die <<"DEATH"; -WHOA THERE! It looks like you've got $CPAN::Config->{$mb_setting} set. This is -known to cause problems with local::lib. Please either remove this setting or -clear out your .cpan directory. +WHOA THERE! It looks like you've got $CPAN::Config->{$mb_setting} set in +your CPAN config. This is known to cause problems with local::lib. Please +either remove this setting or clear out your .cpan directory. DEATH } }