Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 41572
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Wrong usage of "or" (crept in with the "haiku" patch)
The current svn version seems to have a wrong usage of "or" in lib/ExtUtils/MM.pm. The attached patch fixes this. Regards, Slaven
Subject: ExtUtils-MakeMaker-haikuor.patch
commit ca297064cd358812d41766b4d870eb7fac66a840 Author: Slaven Rezic <slaven@rezic.de> Date: Tue Dec 9 21:58:32 2008 +0100 * fixed wrong usage of "or" (precedence!) diff --git a/lib/ExtUtils/MM.pm b/lib/ExtUtils/MM.pm index 00f5c39..7f22eaf 100644 --- a/lib/ExtUtils/MM.pm +++ b/lib/ExtUtils/MM.pm @@ -58,7 +58,7 @@ if( $^O eq 'MSWin32' ) { $Is{UWIN} = $^O =~ /^uwin(-nt)?$/; $Is{Cygwin} = $^O eq 'cygwin'; $Is{NW5} = $Config{osname} eq 'NetWare'; # intentional -$Is{BeOS} = $^O =~ /beos/i or $^O eq 'haiku'; +$Is{BeOS} = $^O =~ /beos/i || $^O eq 'haiku'; $Is{DOS} = $^O eq 'dos'; if( $Is{NW5} ) { $^O = 'NetWare';
Thanks. This was already fixed in r4364.