- Timestamp:
- 01/14/06 14:23:35 (3 years ago)
- Files:
-
- 1 modified
-
inc/Module/Install/Can.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inc/Module/Install/Can.pm
r8125 r8661 1 #line 1 "inc/Module/Install/Can.pm - /usr/local/lib/perl5/site_perl/5.8.7/Module/Install/Can.pm"1 #line 1 "inc/Module/Install/Can.pm - lib/Module/Install/Can.pm" 2 2 package Module::Install::Can; 3 3 use Module::Install::Base; @ISA = qw(Module::Install::Base); … … 53 53 if ($^O eq 'cygwin') { 54 54 require ExtUtils::MM_Cygwin; 55 require ExtUtils::MM_Win32; 55 56 if (!defined(&ExtUtils::MM_Cygwin::maybe_command)) { 56 57 *ExtUtils::MM_Cygwin::maybe_command = sub { 57 58 my ($self, $file) = @_; 58 if ($file =~ m{^/cygdrive/}i ) {59 if ($file =~ m{^/cygdrive/}i and ExtUtils::MM_Win32->can('maybe_command')) { 59 60 ExtUtils::MM_Win32->maybe_command($file); 60 61 } 61 62 else { 62 $self->SUPER::maybe_command($file);63 ExtUtils::MM_Unix->maybe_command($file); 63 64 } 64 65 }
