projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[perl #22977] Bug in format/write
[p5sagit/p5-mst-13.2.git]
/
t
/
comp
/
form_scope.t
1
#!./perl
2
#
3
# Tests bug #22977. Test case from Dave Mitchell.
4
5
print "1..2\n";
6
7
sub f ($);
8
sub f ($) {
9
my $test = $_[0];
10
write;
11
format STDOUT =
12
ok @<<<<<<<
13
$test
14
.
15
}
16
17
f(1);
18
f(2);