You forgot that it is very poor style to alter the input data in a map. You wrote map { chomp; $_ => undef} but you should have written map { local $_ = $_; chomp; $_ => undef }.
Or... there is some case where the `local $_ = $_` triggers some bug so in that case you'd have to say map { my $key = $_; $key => undef } to be really safe.
In reply to Re: Balancing Coding Time And Code Quality
by diotalevi
in thread Balancing Coding Time And Code Quality
by Limbic~Region
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |