This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlapi.pod: remove AvARRAY() example from sortsv()
authorDavid Mitchell <davem@iabyn.com>
Tue, 24 Jan 2017 13:55:45 +0000 (13:55 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 24 Jan 2017 13:55:45 +0000 (13:55 +0000)
commit8f5d5a51d02eb509ca7ebc82d950207828c3aa7c
treedad122a8e6d884be167d1e3172d52faa9a1e2825
parent1acab4c5e64e8d27d6452f7758b159adf276d017
perlapi.pod: remove AvARRAY() example from sortsv()

The docs for the Perl_sort() API function include a 1-line example
of sorting an AV in-place using  AvARRAY(av). Since AvARRAY() isn't
part of the API and the example would fail on tied or magic arrays,
just delete it.

At the same time, clarify the docs a bit for Perl_sort() and
Perl_sort_flags()
pp_sort.c