summaryrefslogtreecommitdiff
path: root/t/base/pat.t
blob: 9e3f6151e0b55eb67d151c08ed45059638426810 (plain)
1
2
3
4
5
6
7
8
9
#!./perl

print "1..2\n";

# first test to see if we can run the tests.

$_ = 'test';
if (/^test/) { print "ok 1\n"; } else { print "not ok 1\n";}
if (/^foo/) { print "not ok 2\n"; } else { print "ok 2\n";}