Instead of using `=> 1`, it is valid and cheaper to use `=> undef`.
In reply to Re: Perl Idioms Explained - keys %{{map{$_=>1}@list}}
by diotalevi
in thread Perl Idioms Explained - keys %{{map{$_=>1}@list}}
by broquaint
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |