On 28/10/02 14:10 +1100, Sisyphus wrote:
>
> ----- Original Message -----
> From: "Brian Ingerson" <[EMAIL PROTECTED]>
>
> > >
> > >
> > > BTW, if you want Inline to make "out of the box" on Win95/98/Me, you can
> add
> > > this at the end
> > > of Makefile.PL:
> >
> > Does this have any negative impact on Win2k or NT?
> >
>
> It's ok for me. I've just run it to make sure - I think all that happens is
> the existing makefile gets rewritten (as there are no '@[' or '[' symbols).
OK. Thanks. I'll apply it.
> Mitchell posted the other day that it should be a pattern match because of
> vagaries concerning '$^O'.
>
> if($^O =~ /Win32/i) {}
OK.
> You could use the 'Win32::IsWin95()' function or query the system variable
> 'OS' to find out whether it is a 95/98/ME or NT/2K/XP box if you wanted.
>
> Imho it would be better for Patrick to remove the lines '@[' and ']' from
> MM_Unix.pm - then he should never have to apply that fix to any
> 'makefile.pl' ever again.
>
> That's a *very* humble (and a not-very-strong) opinion. If Brian wants to
> get around a command.com/MM_Unix problem, I have no objection. Afaik, he
> would be the first author to do so.
With CPAN::MakeMaker, this is a possibility. We could actually patch every
version of MM_Unix there is, on the fly. If you give me more details, I'll
look into it.
Cheers, Brian