On Tue, Jan 02, 2001 at 03:21:15PM -0000, Jonathan Peterson wrote:
>> my @sort=sort keys %{ +{ map { $_ => undef } @list } };
>                        ^^
> What does +{} do??? 

"{ ... }" turns the list within into an anonymous hash reference. The "+" is
to disambiguate it from a BLOCK. The "%{ ... }" dereferences this anonymous
hash so that you may do a keys() on it.

Reply via email to