From: Vincent Pit Date: Wed, 12 Nov 2008 18:58:03 +0000 (+0100) Subject: Only enable VMG_COMPAT_ARRAY_PUSH_NOLEN for ActiveState's 5.8.[78] on Windows, as... X-Git-Tag: v0.25~2 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Magic.git;a=commitdiff_plain;h=4eb87a8fd0eb06e0ee96c5da1ac84650388de60c Only enable VMG_COMPAT_ARRAY_PUSH_NOLEN for ActiveState's 5.8.[78] on Windows, as the relevant patch has been integrated for 5.8.9 --- diff --git a/Makefile.PL b/Makefile.PL index cc205cb..76ac727 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -23,8 +23,8 @@ if (defined $pl && length $pl) { } my $is_as = 0; -print "Checking if this is Windows ActiveState 5.8.x... "; -if ($^O eq 'MSWin32' && $^V ge v5.8.7 && $^V lt v5.9.0) { +print "Checking if this is Windows ActiveState 5.8.[78]... "; +if ($^O eq 'MSWin32' && $^V ge v5.8.7 && $^V lt v5.8.9) { eval { require Win32; 1;