summaryrefslogtreecommitdiff
path: root/pod/perldelta.pod
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2002-12-20 00:35:27 +0000
committerhv <hv@crypt.org>2002-12-23 03:36:26 +0000
commite9bdcc27a1d9b3f31b4d8c3678dd1346910c9b4d (patch)
treedca7ea6b1fcce75741a00aa3b14cc349dbf9354f /pod/perldelta.pod
parentf800e14d03e1bfa2cf42b86e56c0183cd5875618 (diff)
downloadperl-e9bdcc27a1d9b3f31b4d8c3678dd1346910c9b4d.tar.gz
Reverse #18285, for reasons given in:
Subject: Re: Precedence of ? : Message-Id: <200212200035.gBK0ZRm29309@crypt.compulink.co.uk> p4raw-id: //depot/perl@18336
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r--pod/perldelta.pod17
1 files changed, 0 insertions, 17 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 1394824bfe..8704322575 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -22,23 +22,6 @@ contains a package variable named C<$NEGATIVE_INDICES> which is set to
a true value, negative values will be passed to C<FETCH>, C<STORE>,
C<EXISTS>, and C<DELETE> unchanged.
-=head2 Fewer parentheses needed with C<? :>
-
-The grammar of the conditional operator (C<$x ? $y : $z>) has been
-broadened so that any operator may appear between the C<?> and the
-C<:> without parentheses. Previously, the comma operator and the
-low-precedence logical operators had required parentheses in this
-context. For instance, you may now write
-
- $x ? $a and $b : $c
-
-as a shorter version of the more explicit
-
- $x ? ($a and $b) : $c
-
-Perl is now compatible with C in this regard. However, writing the
-parentheses is still recommended as a matter of style.
-
=head1 Modules and Pragmata
=head1 Utility Changes