diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-25 14:28:20 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-25 14:28:20 +0000 |
commit | 6f8d0260355f8c4ae7955768122638ad99f0ebab (patch) | |
tree | 4a37d41a9faca9d1be8a81a35485f899556863f1 /lib/ExtUtils/MM_Unix.pm | |
parent | 65ca2c1dad7ec0689fe20a8c311042e71819452f (diff) | |
download | perl-6f8d0260355f8c4ae7955768122638ad99f0ebab.tar.gz |
Hey, but "or" is low-prec. So this statement never worked.
p4raw-id: //depot/perl@31969
Diffstat (limited to 'lib/ExtUtils/MM_Unix.pm')
-rw-r--r-- | lib/ExtUtils/MM_Unix.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 7ce004ee20..0f1048d563 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -35,8 +35,7 @@ BEGIN { $Is_SunOS4 = $^O eq 'sunos'; $Is_Solaris = $^O eq 'solaris'; $Is_SunOS = $Is_SunOS4 || $Is_Solaris; - $Is_BSD = $^O =~ /^(?:free|net|open)bsd$/ or - $^O eq 'bsdos' or $^O eq 'interix' or $^O eq 'dragonfly'; + $Is_BSD = $^O =~ /^(?:(?:free|net|open)bsd|bsdos|interix|dragonfly)$/; } BEGIN { |