#!./perl -p
+# This test file does not use test.pl because of the involved way in which it
+# generates its TAP output.
+
BEGIN {
print "1..3\n";
*ARGV = *DATA;
}
END {
- print "ok 3\n";
+ print "ok 3 - -p switch tested\n";
}
s/^not //;
__DATA__
-not ok 1
-not ok 2
+not ok 1 - -p switch first iteration
+not ok 2 - -p switch second iteration