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:
e4d9df7
)
Tests for perl #94476
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 14 Jun 2012 06:43:14 +0000
(23:43 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 15 Jun 2012 19:28:17 +0000
(12:28 -0700)
t/op/ref.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/ref.t
b/t/op/ref.t
index
299ccdb
..
a568d88
100644
(file)
--- a/
t/op/ref.t
+++ b/
t/op/ref.t
@@
-8,7
+8,7
@@
BEGIN {
use strict qw(refs subs);
-plan(22
8
);
+plan(22
9
);
# Test glob operations.
@@
-119,6
+119,7
@@
is (join(':',@{$spring2{"foo"}}), "1:2:3:4");
&$subref;
is ($called, 1);
}
+is ref eval {\&{""}}, "CODE", 'reference to &{""} [perl #94476]';
# Test references to return values of operators (TARGs/PADTMPs)
{