summaryrefslogtreecommitdiff
path: root/pod/perldelta.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-19 18:51:24 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-19 18:51:24 +0000
commitab98f5a72b1230fce87ac62a6ba4e90a6704effe (patch)
tree356c50660ea170fb75cb10b365fb2591967fcfa3 /pod/perldelta.pod
parent68c4a64d671568cb9a174a1aef7466064db986e2 (diff)
downloadperl-ab98f5a72b1230fce87ac62a6ba4e90a6704effe.tar.gz
add @x->[2] bug to known issues (from Johan Vromans)
p4raw-id: //depot/perl@5835
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r--pod/perldelta.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index f85a819c20..680bcb76e4 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -2686,6 +2686,18 @@ rather mild: Perl itself is not adversely affected by the error, only
the h2ph utility coming with Perl, and that is rather rarely needed
these days.
+=head2 Arrow operator and arrays
+
+When the left argument to the arrow operator C<< -> >> is an array, or
+the C<scalar> operator operating on an array, the result of the
+operation must be considered erroneous. For example:
+
+ @x->[2]
+ scalar(@x)->[2]
+
+These expressions will get run-time errors in some future release of
+Perl.
+
=head2 Many features still experimental
As discussed above, many features are still experimental. Interfaces and