In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/dbc2ea0c923176b1040e2ba2a21bd680cce3be11?hp=be456e362b6aa97144209dad66d321b296b7e2c8>
- Log ----------------------------------------------------------------- commit dbc2ea0c923176b1040e2ba2a21bd680cce3be11 Author: Steffen Mueller <[email protected]> Date: Sat Jul 20 17:53:08 2013 +0200 Clarify av_shift API docs ----------------------------------------------------------------------- Summary of changes: av.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/av.c b/av.c index fb01f48..b15f6ff 100644 --- a/av.c +++ b/av.c @@ -697,9 +697,9 @@ Perl_av_unshift(pTHX_ AV *av, I32 num) /* =for apidoc av_shift -Shifts an SV off the beginning of the -array. Returns C<&PL_sv_undef> if the -array is empty. +Removes one SV from the start of the array, reducing its size by one and +returning the SV (transferring control of one reference count) to the +caller. Returns C<&PL_sv_undef> if the array is empty. Perl equivalent: C<shift(@myarray);> -- Perl5 Master Repository
