blob: 2d02fa04c1ce2f010b8ed2a3b80e9bfbdac1ee25 (
plain) (
blame)
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 - match regex\n"; } else { print "not ok 1 - match regex\n";}
if (/^foo/) { print "not ok 2 - match regex\n"; } else { print "ok 2 - match regex\n";}
|