Author: particle
Date: Mon Apr 24 08:06:32 2006
New Revision: 12405

Modified:
   trunk/config/init/hints/mswin32.pm
   trunk/lib/Parrot/Revision.pm

Log:
[config] fixes to support minimum perl version 5.6.0

Modified: trunk/config/init/hints/mswin32.pm
==============================================================================
--- trunk/config/init/hints/mswin32.pm  (original)
+++ trunk/config/init/hints/mswin32.pm  Mon Apr 24 08:06:32 2006
@@ -35,7 +35,7 @@
         # This will prevent the 'optimization is not available in the
         # standard edition compiler' warning each time we compile.
         # The logo gets printed to STDERR; hence the redirection.
-        my $cc_output = `$cc /? 2>&1`;
+        my $cc_output = `$cc /? 2>&1` || '';
         $ccflags =~ s/-O1 // if $cc_output =~ m/Standard/ || $cc_output =~ 
m{/ZI};
         $ccflags =~ s/-Gf/-GF/ if $cc_output =~ m/Version (\d+)/ && $1 >= 13;
 

Modified: trunk/lib/Parrot/Revision.pm
==============================================================================
--- trunk/lib/Parrot/Revision.pm        (original)
+++ trunk/lib/Parrot/Revision.pm        Mon Apr 24 08:06:32 2006
@@ -22,7 +22,7 @@
 
 use strict;
 use warnings;
-use 5.008;
+
 
 our $svn_entries = undef;
 

Reply via email to