Orton, Yves wrote:
> Found another Win32 problem in MakeMaker.
> 
> ExtUtils::Install is using the Unix path seperator on Win32.
> 
> Patch as follows
> 
> --- ExtUtils-MakeMaker-6.16/lib/ExtUtils/Install.pm     2003-06-05
> 10:04:31.000000000 +0200
> +++ ExtUtils-MakeMaker-6.16-pathced/lib/ExtUtils/Install.pm     2003-09-08
> 11:58:26.000000000 +0200
> @@ -15 +15 @@
> -my $splitchar = $^O eq 'VMS' ? '|' : ($^O eq 'os2' || $^O eq 'dos') ? ';' :
> ':';
> +my $splitchar = $^O eq 'VMS' ? '|' : $^O=~/^(?:os2|dos|MSWin32)$/ ? ';' :

You might want to add epoc and netware in there
(have we a dictionary of known $^O values somewhere ?)

> ':';
> 
> Although I do not understand why you go through this contortion when there
> is $Config{path_sep} available for use. 

me too ;-)
Sounds like a better solution. Perhaps is it not backward-compatible
enough ?

Reply via email to