diff options
Diffstat (limited to 'modulemanager')
-rwxr-xr-x | modulemanager | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modulemanager b/modulemanager index af5bf113c..42566d3b1 100755 --- a/modulemanager +++ b/modulemanager @@ -22,9 +22,15 @@ use strict; use warnings FATAL => qw(all); -use make::configure; +BEGIN { + require 5.8.0; + push @INC, '.'; +} BEGIN { + # HACK: for some reason this needs to be in a second BEGIN block + # or it doesn't receive the updated @INC from above. + use make::configure; unless (module_installed("LWP::Simple")) { die "Your system is missing the LWP::Simple Perl module!"; } |