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
Re: [PATCH] Re: [perl #34650] perldoc -f my should perhaps mention BEGIN and END
[perl5.git]
/
t
/
run
/
switcha.t
1
#!./perl -na
2
3
BEGIN {
4
print "1..2\n";
5
*ARGV = *DATA;
6
$i = 0;
7
}
8
print "$F[1] ",++$i,"\n";
9
10
__DATA__
11
not ok
12
not ok 3