This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3362a
)
Add the Perl equivalent for av_len.
author
Shlomi Fish
<shlomif@iglu.org.il>
Wed, 19 May 2010 17:11:03 +0000
(20:11 +0300)
committer
David Golden
<dagolden@cpan.org>
Tue, 25 May 2010 16:15:01 +0000
(12:15 -0400)
Signed-off-by: David Golden <dagolden@cpan.org>
av.c
patch
|
blob
|
blame
|
history
diff --git
a/av.c
b/av.c
index
6e08454
..
de57aac
100644
(file)
--- 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
*/