X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/61ea75ac73aaa903f60ec8d026e6d646f18b7451..56e76579f904e4a2139c40d026dd6eac63263b6e:/pod/perl5134delta.pod?ds=sidebyside diff --git a/pod/perl5134delta.pod b/pod/perl5134delta.pod index 5b22729..e90fbff 100644 --- a/pod/perl5134delta.pod +++ b/pod/perl5134delta.pod @@ -25,44 +25,6 @@ each run. It can test a random subset each time, and should there be a failure, log the seed used for that run so that it can later be used to reproduce the exact results. -=head2 Creating unary functions with prototypes - -Calls to functions created with the following prototypes are now correctly parsed - -Functions declared with the following prototypes now behave correctly as unary functions: - -=over 4 - -=item * - -C<*> - -=item * - -C<\sigil> - -=item * - -C<\[...]> - -=item * - -C<;$> - -=item * - -C<;*> - -=item * - -C<;\sigil> - -=item * - -C<;\[...]> - -=back - =head2 C<\N{I}> and C enhancements C<\N{}>, C, C now know about every @@ -104,9 +66,43 @@ compatible with any previous Perl release. =head2 Change in the parsing of certain prototypes -Due to a bug fix, functions using the C<(*)>, C<(;$)> and C<(;*)> -prototypes are parsed with higher precedence than before. So in the -following example: +Functions declared with the following prototypes now behave correctly as unary +functions: + +=over 4 + +=item * + +C<*> + +=item * + +C<\sigil> + +=item * + +C<\[...]> + +=item * + +C<;$> + +=item * + +C<;*> + +=item * + +C<;\sigil> + +=item * + +C<;\[...]> + +=back + +Due to this bug fix, functions using the C<(*)>, C<(;$)> and C<(;*)> prototypes +are parsed with higher precedence than before. So in the following example: sub foo($); foo $a < $b;