develooper Front page | perl.perl5.porters | Postings from April 2014

[perl #121681] Correction to the description of C<delete>

Thread Previous
From:
Tony Cook via RT
Date:
April 21, 2014 00:24
Subject:
[perl #121681] Correction to the description of C<delete>
Message ID:
rt-4.0.18-16520-1398039846-1325.121681-15-0@perl.org
On Thu Apr 17 11:50:30 2014, anno5@me.com wrote:
> However, if any deleted elements fall at the end of an array,
> the array's size shrinks to the position of the highest element
> that still tests true for exists(), or to 0 if none do. In other
> words, an
> array won't have trailing nonexistent elements after a delete.

That looks good to me.

I'll apply it post 5.20.

Attached is a git format-patch as I plan to apply it, using your email from the AUTHORS file instead of from this ticket.  If you want that changed, please let me know.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=121681

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