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
t/loc_tools.pl: Consider thread 0 always locale-safe
[perl5.git]
/
t
/
run
/
switchn.t
1
#!./perl -n
2
3
BEGIN {
4
chdir 't' if -d 't';
5
@INC = '../lib';
6
require './test.pl';
7
*ARGV = *DATA;
8
plan(tests => 3);
9
}
10
11
END {
12
pass("Final test");
13
}
14
15
chomp;
16
is("ok ".$., $_, "Checking line $.");
17
18
s/^/not /;
19
20
__DATA__
21
ok 1
22
ok 2