Created
November 2, 2009 07:25
-
-
Save rbuels/224018 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Index: lib/Module/Install.pm | |
| =================================================================== | |
| --- lib/Module/Install.pm (revision 9914) | |
| +++ lib/Module/Install.pm (working copy) | |
| @@ -116,9 +116,14 @@ | |
| $^H |= strict::bits(qw(refs subs vars)); | |
| +# add a warning to the end of @INC, so that if a module load failure | |
| +# happens in a Makefile.PL, add a helpful warning | |
| +push @INC, sub { | |
| + warn "Module::Install: $_[1] is required to configure this module:\n"; | |
| + return; | |
| +}; | |
| - | |
| use Cwd (); | |
| use File::Find (); | |
| use File::Path (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment