develooper Front page | perl.perl5.porters | Postings from July 2013

Re: Is this small perlapi amendment correct?

Thread Previous
From:
Steffen Mueller
Date:
July 20, 2013 15:54
Subject:
Re: Is this small perlapi amendment correct?
Message ID:
51EAB2A4.7020204@cpan.org
On 07/20/2013 12:21 AM, Dave Mitchell wrote:
> On Fri, Jul 19, 2013 at 07:51:49AM +0200, Steffen Mueller wrote:
>> and useful to apply?
>
> Possibly. Perl_av_pop already has some wording to that effect:
>
>      Removes one SV from the end 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.
>
> It would be best if they used similar phasing, although I'm undecided
> which one is clearer.

I went with the moral equivalent of the text of av_pop and just pushed 
that change.

Thanks for the sanity check.

--Steffen

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About