Integrate perlio:
[p5sagit/p5-mst-13.2.git] / t / lib / gol-oo.t
index 6100d18..98f3eaa 100644 (file)
@@ -1,9 +1,14 @@
 #!./perl -w
 
+BEGIN {
+    chdir('t') if -d 't';
+    @INC = '../lib';
+}
+
 use Getopt::Long;
-die("Getopt::Long version 2.23_03 required--this is only version ".
+die("Getopt::Long version 2.24 required--this is only version ".
     $Getopt::Long::VERSION)
-  unless $Getopt::Long::VERSION ge "2.23_03";
+  unless $Getopt::Long::VERSION >= 2.24;
 print "1..9\n";
 
 @ARGV = qw(-Foo -baR --foo bar);