summaryrefslogtreecommitdiff
path: root/pod/perldelta.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-14 08:02:10 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-14 14:53:39 -0700
commit2b03450bfbd5d26bdf9636df1c03429c1a43dba0 (patch)
treed08934bd2aa3b50f7921645c80ac32953cec5443 /pod/perldelta.pod
parent990a70b8c9866c888194f4c2c6d152d7911b3c34 (diff)
downloadperl-2b03450bfbd5d26bdf9636df1c03429c1a43dba0.tar.gz
perldelta for cfc7ef1
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r--pod/perldelta.pod17
1 files changed, 17 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index bc5365c995..1d8ad2f6fe 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -54,6 +54,23 @@ XXX For a release on a stable branch, this section aspires to be:
[ List each incompatible change as a =head2 entry ]
+=head2 Changes to the C<*> prototype
+
+The C<*> character in a subroutine's prototype used to allow barewords
+to take precedence over most, but not all subroutines. It was never
+consistent and exhibited buggy behaviour.
+
+Now it has been changed, so subroutines always take precedence over
+barewords, which brings it into conformity with similarly prototyped
+built-in functions:
+
+ sub splat($) { ... }
+ sub foo { ... }
+ splat(foo); # now always splat(foo())
+ splat(bar); # still splat('bar') as before
+ close(foo); # close(foo())
+ close(bar); # close('bar')
+
=head1 Deprecations
XXX Any deprecated features, syntax, modules etc. should be listed here.