diff options
Diffstat (limited to 'install-module.pl')
-rwxr-xr-x | install-module.pl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/install-module.pl b/install-module.pl index 241972211..44457c400 100755 --- a/install-module.pl +++ b/install-module.pl @@ -47,9 +47,12 @@ GetOptions(\%switch, 'all|a', 'upgrade-all|u', 'show-config|s', 'global|g', pod2usage({ -verbose => 1 }) if $switch{'help'}; -if (ON_WINDOWS) { - print "\nYou cannot run this script on Windows. Please follow instructions\n"; - print "given by checksetup.pl to install missing Perl modules.\n\n"; +if (ON_ACTIVESTATE) { + print <<END; +You cannot run this script when using ActiveState Perl. Please follow +the instructions given by checksetup.pl to install missing Perl modules. + +END exit; } |