On 8 Sep 2000 04:57:46 -, Perl6 RFC Librarian wrote:
>Instead of
>
> %subhash = map { f($_) ? ($_, $hash{$_}) : () } keys %hash; # lengthy
>
>one may now write
>
> %subhash = %hash{f($_)};# code block f($_) will be evaluated for Truth
>over all the keys
I almost like
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
hash slicing
=head1 VERSION
Maintainer: David Nicol <[EMAIL PROTECTED]>
Date: 7 September 2000
Mailing List: [EMAIL PROTECTED]
Number: 201
Version: 1
Status: Developing
=head1 ABSTRACT
a more