develooper Front page | perl.perl5.porters | Postings from October 2013

Re: [perl #120386] av_len documentation

Thread Previous | Thread Next
Steffen Mueller
October 28, 2013 05:37
Re: [perl #120386] av_len documentation
Message ID:
On 10/27/2013 10:56 PM, (via RT) wrote:
> Or maybe even less confusing:
>     Note that, unlike the name implies, it returns the highest index in the array, so to get the size
>     of the array you need to use C<av_len (av) + 1>.

That sounds like and improvement to me.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About