the bad construction of DIRFILESEP path separator by Makefile.PL

persist also in last "activestate Perl 5.10" distribution

and last version updated version of ExtUtils-Makemaker (6.44) ,

and is related to:

 

..\Perl\lib\ExtUtils\MM_Win32.pm

 

Or/And (depend on install zone..):

 

..\Perl\site\lib\ExtUtils\MM_Win32.pm

 

 

I correct the code of this subroutine (in MM_Win32.pm):

 

 

sub init_DIRFILESEP {

    my($self) = shift;

 

my $make = $self->make;

 

# The ^ makes sure its not interpreted as an escape in nmake

#    $self->{DIRFILESEP} = $make eq 'nmake' ? '^\\' :

 

# above line fixed by Berardi Michele as:

     $self->{DIRFILESEP} = $make eq 'nmake' ? '\\\\' :

                          $make eq 'dmake' ? '\\\\'

                                           : '\\';

}

 

 

Hope this help.

 

Michele

 

---------------

Michele Berardi

System Developer

http://berardimichele.interfree.it <http://berardimichele.interfree.it/> 

 

 

 

 

Reply via email to