summaryrefslogtreecommitdiff
path: root/pod/perlembed.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-21 13:36:08 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-21 17:09:11 +0000
commitcbfd0a879b2bf2ade4a309e6d56c08ba19f320e1 (patch)
tree7771d5ecf7d2b77cf43976ba2a814084ccbca4f5 /pod/perlembed.pod
parent6673a63c63e2a65dbfcc835d6499cc97c449c67b (diff)
downloadperl-cbfd0a879b2bf2ade4a309e6d56c08ba19f320e1.tar.gz
Update the documentation of get_av() to note that it calls Perl_gv_fetchpv(),
and hence the 'create' argument is actually 'flags'. Fix code and documentation that used TRUE or FALSE to use 0 or GV_ADD.
Diffstat (limited to 'pod/perlembed.pod')
-rw-r--r--pod/perlembed.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlembed.pod b/pod/perlembed.pod
index 2466531255..a2b76fdc28 100644
--- a/pod/perlembed.pod
+++ b/pod/perlembed.pod
@@ -480,7 +480,7 @@ been wrapped here):
my_eval_sv(command, TRUE);
SvREFCNT_dec(command);
- *match_list = get_av("array", FALSE);
+ *match_list = get_av("array", 0);
num_matches = av_len(*match_list) + 1; /** assume $[ is 0 **/
return num_matches;