summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@iglu.org.il>2010-05-18 15:31:41 +0300
committerDavid Golden <dagolden@cpan.org>2010-05-25 12:15:01 -0400
commitb7ff7ff211d0d5fc593efe5c9d305d197ecb8d86 (patch)
tree9a9e7d13be25fc66d272383c260a1610c764b3d3 /av.c
parent71282cab69578876db765e8d8aadb9cc2331ebf2 (diff)
downloadperl-b7ff7ff211d0d5fc593efe5c9d305d197ecb8d86.tar.gz
Add Perl equivalent for av_exists().
This mentions that it's equivalent to exists($myarray[$key]). 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 f915fefbb8..33d5d7b6ff 100644
--- a/av.c
+++ b/av.c
@@ -885,6 +885,8 @@ Returns true if the element indexed by C<key> has been initialized.
This relies on the fact that uninitialized array elements are set to
C<&PL_sv_undef>.
+Perl equivalent: C<exists($myarray[$key])>.
+
=cut
*/
bool