Darren Duncan skribis 2005-04-20 11:40 (-0700):
> A clear way to disambiguate a block from a hash-ref when using 
> map/grep/sort etc is to use a colon before the leading brace for a 
> block rather than a space, like this:
>    map:{ $_ => uc $_ }

I think the best disambiguators for hash/sub interpretation are "hash"
and "sub", even though sub is a little longer than a colon.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to