Use prepared statement from the start for populate on PostgreSQL
[dbsrgits/DBIx-Class.git] / t / zzzzzzz_perl_perf_bug.t
index c1e0ab8..85dd77c 100644 (file)
@@ -1,7 +1,9 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 use Test::More;
-use lib qw(t/lib);
+
 
 BEGIN {
   plan skip_all =>
@@ -99,7 +101,7 @@ SKIP: {
     }
 
     sub _possibly_has_bad_overload_performance {
-        return $] < 5.008009 && !_has_bug_34925();
+        return( "$]" < 5.008009 and !_has_bug_34925() );
     }
 
     # If this next one fails then you almost certainly have a RH derived