On Mon, 28 Aug 2000 14:43:08 -0400 (EDT), Eric Roode wrote:
>Damian Conway wrote:
>
>> @hash{grep /^[^_]/}
>>
>>gives you the public values of %hash.
>
>
>And the advantage of that over
>
> @hash{ grep /^[^_]/, keys %hash }
>
>would be what? Brevity?
What if I want those keys of %hash? Or both keys and values?
Shortcuts that only work in half of the common cases don't seem very
useful to me.
--
Bart.
- Re: Nice to have it Eric Roode
- Re: Nice to have it Bart Lateur
- Re: Nice to have it Damian Conway
