1 2 3 4 5 6 7 8 9 10 11 12 13
#!./perl BEGIN { chdir 't' if -d 't'; @INC = '../lib'; } print "1..1\n"; use FindBin qw($Bin); print "not " unless $Bin =~ m,t/lib$,; print "ok 1\n";