projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb0881
)
perldelta for method{}
author
Father Chrysostomos
<sprout@cpan.org>
Tue, 22 May 2012 05:24:00 +0000
(22:24 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 22 May 2012 05:26:51 +0000
(22:26 -0700)
pod/perldelta.pod
patch
|
blob
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
1b9db6d
..
80a4b50
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-380,6
+380,12
@@
C<print &CORE::uc("a"), &CORE::uc("b")> used to print "BB". The same thing
would happen with an lvalue subroutine returning the return value of C<uc>.
Now the value is copied in such cases.
+=item *
+
+C<method {}> syntax with an empty block or a block returning an empty list
+used to crash or use some random value left on the stack as its invocant.
+Now it produces an error.
+
=back
=head1 Known Problems