Cross Reference:
xref
: /
illumos-gate
/
usr
/
src
/
cmd
/
perl
/
5.8.4
/
distrib
/
lib
/
Filter
/
Simple
/
t
/
filter.t
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
filter.t revision 7c478bd95313f5f23a4c958a745db2134aa03244
0
N/A
BEGIN {
0
N/A
if ($ENV{PERL_CORE}) {
0
N/A
chdir('t') if -d 't';
0
N/A
@INC = qw(
lib/Filter/Simple
../lib);
0
N/A
}
0
N/A
}
0
N/A
0
N/A
use FilterTest
qr/not
ok/ => "ok", fail => "ok";
0
N/A
0
N/A
print "1..6\n";
0
N/A
0
N/A
sub fail { print "fail ", $_[0], "\n" }
0
N/A
0
N/A
print "not ok 1\n";
0
N/A
print "fail 2\n";
0
N/A
0
N/A
fail(3);
0
N/A
&fail(4);
873
N/A
0
N/A
print "not " unless "whatnot okapi" eq "whatokapi";
0
N/A
print "ok 5\n";
0
N/A
0
N/A
no FilterTest;
0
N/A
868
N/A
print "not " unless "not ok" =~ /^not /;
0
N/A
print "ok 6\n";
0
N/A
2086
N/A