#!./perl -w
chdir 't';
}
}
die("Getopt::Long version 2.23_03 required--this is only version ". print "1..9\n";
print "ok 1\n" if $p->
getoptions ("foo", "Foo=s");
print (($opt_foo == 1) ? "" : "not ", "ok 3\n");
print (($opt_Foo eq "-baR") ? "" : "not ", "ok 5\n");
print ((@ARGV == 1) ? "" : "not ", "ok 6\n");
print (($ARGV[0] eq "bar") ? "" : "not ", "ok 7\n");