This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
More ~~ tests
[perl5.git]
/
t
/
base
/
pat.t
1
#!./perl
2
3
print "1..2\n";
4
5
# first test to see if we can run the tests.
6
7
$_ = 'test';
8
if (/^test/) { print "ok 1\n"; } else { print "not ok 1\n";}
9
if (/^foo/) { print "not ok 2\n"; } else { print "ok 2\n";}