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
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Report useful file names and line numbers from run_multiple_progs().
[perl5.git]
/
t
/
run
/
switchn.t
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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