summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-02-02 10:18:45 -0700
committerKarl Williamson <public@khwilliamson.com>2013-02-08 14:44:24 -0700
commit23aa77bc9fa488ace3ef1089104e999c23821171 (patch)
tree81778e3fa16ff3346c256ab90813e7cca3a1da77 /pp_sort.c
parent127191935588596728c62621b37dcfbab94edc5c (diff)
downloadperl-23aa77bc9fa488ace3ef1089104e999c23821171.tar.gz
Change pods to not refer to av_len()
This name for the function is misleading; don't encourage its use.
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sort.c b/pp_sort.c
index d6a5e8835f..bf7182bd71 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1432,7 +1432,7 @@ S_qsortsv(pTHX_ gptr *list1, size_t nmemb, SVCOMPARE_t cmp, U32 flags)
Sort an array. Here is an example:
- sortsv(AvARRAY(av), av_len(av)+1, Perl_sv_cmp_locale);
+ sortsv(AvARRAY(av), av_top_index(av)+1, Perl_sv_cmp_locale);
Currently this always uses mergesort. See sortsv_flags for a more
flexible routine.