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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3365a5
)
do subname() is deprecated, so this test from perl 1 needs updating.
author
Nicholas Clark
<nick@ccl4.org>
Tue, 13 Oct 2009 12:56:06 +0000
(13:56 +0100)
committer
Jesse Vincent
<jesse@bestpractical.com>
Fri, 16 Oct 2009 16:30:14 +0000
(12:30 -0400)
t/comp/decl.t
patch
|
blob
|
blame
|
history
diff --git
a/t/comp/decl.t
b/t/comp/decl.t
index
a4b898c
..
5056850
100644
(file)
--- a/
t/comp/decl.t
+++ b/
t/comp/decl.t
@@
-11,8
+11,8
@@
ok 5
print "1..7\n";
-
do
one();
-
do
two();
+one();
+two();
sub two {
print "ok 2\n";
@@
-26,10
+26,10
@@
if ($x eq $x) {
sub three {
print "ok 3\n";
}
-
do
three();
+ three();
}
-
do
four();
+four();
$~ = 'one';
write;
$~ = 'two';