newer Module::Install 0.75 bits
[perl-cwmp.git] / inc / Module / Install / Win32.pm
index 4f808c7..c97701b 100644 (file)
@@ -4,11 +4,11 @@ package Module::Install::Win32;
 use strict;
 use Module::Install::Base;
 
-use vars qw{$VERSION $ISCORE @ISA};
+use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '0.68';
-       $ISCORE  = 1;
+       $VERSION = '0.75';
        @ISA     = qw{Module::Install::Base};
+       $ISCORE  = 1;
 }
 
 # determine if the user needs nmake, and download it if needed
@@ -16,7 +16,7 @@ sub check_nmake {
        my $self = shift;
        $self->load('can_run');
        $self->load('get_file');
-       
+
        require Config;
        return unless (
                $^O eq 'MSWin32'                     and
@@ -38,8 +38,7 @@ sub check_nmake {
                remove    => 1,
        );
 
-       if (!$rv) {
-        die <<'END_MESSAGE';
+       die <<'END_MESSAGE' unless $rv;
 
 -------------------------------------------------------------------------------
 
@@ -59,7 +58,7 @@ You may then resume the installation process described in README.
 
 -------------------------------------------------------------------------------
 END_MESSAGE
-       }
+
 }
 
 1;