summaryrefslogtreecommitdiff
path: root/t/lib/gol-basic.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-10 22:24:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-10 22:24:54 +0000
commit10e5c9cc387b1e2d69a3b7ac639083bf7483ba2e (patch)
tree743dfb694a77f496f61af28878ed520bd06bd3d9 /t/lib/gol-basic.t
parentf63addff08ca82af351df24a85ab66b56e0cb8fc (diff)
downloadperl-10e5c9cc387b1e2d69a3b7ac639083bf7483ba2e.tar.gz
Update to Getopt::Long 2.23_05, from Johan Vromans.
p4raw-id: //depot/perl@6576
Diffstat (limited to 't/lib/gol-basic.t')
-rwxr-xr-xt/lib/gol-basic.t11
1 files changed, 4 insertions, 7 deletions
diff --git a/t/lib/gol-basic.t b/t/lib/gol-basic.t
index 4b25322336..8ad074f701 100755
--- a/t/lib/gol-basic.t
+++ b/t/lib/gol-basic.t
@@ -1,16 +1,13 @@
#!./perl -w
-BEGIN {
- chdir 't' if -d 't';
- unshift @INC, '../lib';
-}
-
-use Getopt::Long 2.17;
+use Getopt::Long qw(:config no_ignore_case);
+die("Getopt::Long version 2.23_03 required--this is only version ".
+ $Getopt::Long::VERSION)
+ unless $Getopt::Long::VERSION ge "2.23_03";
print "1..9\n";
@ARGV = qw(-Foo -baR --foo bar);
-Getopt::Long::Configure ("no_ignore_case");
undef $opt_baR;
undef $opt_bar;
print "ok 1\n" if GetOptions ("foo", "Foo=s");