diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-08-31 22:16:29 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-08-31 22:16:29 +0200 |
commit | 56e76579f904e4a2139c40d026dd6eac63263b6e (patch) | |
tree | 3caeb2cf8adc993b32d27e91e6672f17b99e84c9 /pod/perl5134delta.pod | |
parent | 61ea75ac73aaa903f60ec8d026e6d646f18b7451 (diff) | |
download | perl-56e76579f904e4a2139c40d026dd6eac63263b6e.tar.gz |
Merge the two 5134delta entries for uniary functions
Diffstat (limited to 'pod/perl5134delta.pod')
-rw-r--r-- | pod/perl5134delta.pod | 78 |
1 files changed, 37 insertions, 41 deletions
diff --git a/pod/perl5134delta.pod b/pod/perl5134delta.pod index 5b22729b10..e90fbffeb9 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<name>}> and C<charnames> enhancements C<\N{}>, C<charnames::vianame>, C<charnames::viacode> 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; |