summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@iglu.org.il>2010-05-19 20:11:03 +0300
committerDavid Golden <dagolden@cpan.org>2010-05-25 12:15:01 -0400
commita8676f70bbd19ba630d2e76288f31b4a2d7a63f1 (patch)
treed6d99e1008fcf9e87eff83093d3954d68f48ee3c /av.c
parent1a3362a5d4e9f2d3548e2937ecf5a9a8a1ac7898 (diff)
downloadperl-a8676f70bbd19ba630d2e76288f31b4a2d7a63f1.tar.gz
Add the Perl equivalent for av_len.
Signed-off-by: David Golden <dagolden@cpan.org>
Diffstat (limited to 'av.c')
-rw-r--r--av.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/av.c b/av.c
index 6e08454e1f..de57aac38d 100644
--- a/av.c
+++ b/av.c
@@ -721,6 +721,8 @@ Perl_av_shift(pTHX_ register AV *av)
Returns the highest index in the array. The number of elements in the
array is C<av_len(av) + 1>. Returns -1 if the array is empty.
+The Perl equivalent for this is C<$#myarray>.
+
=cut
*/