develooper Front page | perl.perl5.porters | Postings from April 2003

Re: slice autoextending ?

Thread Previous | Thread Next
From:
Ronald J Kimball
Date:
April 22, 2003 19:29
Subject:
Re: slice autoextending ?
Message ID:
20030423022914.GA1316864@linguist.thayer.dartmouth.edu
On Tue, Apr 22, 2003 at 07:25:02PM -0500, david nicol wrote:

> --- /usr/lib/perl5/5.6.1/pod/perlfunc.pod	Wed Feb 20 14:05:58 2002
> +++ /tmp/perlfunc.pod	Tue Apr 22 19:20:53 2003
> @@ -4314,7 +4314,7 @@
>  If LENGTH is negative, leaves that many elements off the end of the array.
>  If both OFFSET and LENGTH are omitted, removes everything.
>  
> -The following equivalences hold (assuming C<$[ == 0>):
> +The following equivalences hold (assuming C<$#a >= $x> and C<$[ == 0>):

Mind your angle brackets.  :)  C<< $#a >= $x >>

Ronald

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About