From: Gurusamy Sarathy Date: Sun, 19 Mar 2000 18:51:24 +0000 (+0000) Subject: add @x->[2] bug to known issues (from Johan Vromans) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14190b26cd9cfe4309de569863b29ab40645cfe0;p=p5sagit%2Fp5-mst-13.2.git add @x->[2] bug to known issues (from Johan Vromans) p4raw-id: //depot/perl@5835 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index f85a819..680bcb7 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 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