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

Re: key/value hash slices summary

Thread Previous | Thread Next
From:
David Nicol
Date:
July 8, 2013 05:08
Subject:
Re: key/value hash slices summary
Message ID:
CAFwScO-vbfwoJVB8UOYEPQFnGakiJRiGnFyw40C0m9V+i5N8OQ@mail.gmail.com
On Sat, Jul 6, 2013 at 2:54 PM, Ricardo Signes <perl.p5p@rjbs.manxome.org>wrote:

> * Ruslan Zakirov <ruz@bestpractical.com> [2013-07-02T04:59:54]
> > It was suggested to extend push for this:
> >
> > push %h, @pairs;
> >
> > It was in my first summary (the one I lost to git clean). I like push
> idea
> > more than any of above, but while it's related I think that it's separate
> > project and I can move to it after this is complete.
>

will this project also recognize and optimize the current idiom? The
current idiom is of course

   %h = ( %h, @pairs );

Thread Previous | Thread Next


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