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

Re: key/value hash and index/valuse array slices syntax

Thread Previous | Thread Next
From:
David Nicol
Date:
June 9, 2013 23:51
Subject:
Re: key/value hash and index/valuse array slices syntax
Message ID:
CAFwScO8E51WTCO-VYFN+FuJet9jAVH3T0CVn8XnBczAbuL7Btw@mail.gmail.com
one of the perl6 RFCs suggested allowing a regex as a hash index

   @hash{/REGEX/}

to mean

  @hash{ grep /REGEX/, keys %hash }

I have no idea how well-received that suggestion was

On Fri, Jun 7, 2013 at 10:32 AM, Ricardo Signes
<perl.p5p@rjbs.manxome.org>wrote:

> * Ruslan Zakirov <ruz@bestpractical.com> [2013-06-03T08:06:33]
> > Main question is whether should I continue or stop right there as it
> never
> > will be in the core?
>
> I recall feeling mostly positive about this.  I'm trying to get through
> mail
> backlog of mail that I can review/reply-to without too much thought, but I
> will
> get back to this ASAP.
>
> --
> rjbs
>



-- 
You've got to wiggle before you can crawl

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