No matter how good I get at Perl, I always find myself confused when using map with a hash. I quite often end up with something like %new_hash = map { (condition involving $hash{$_}) ? ($_, $hash{$_}) : () } keys %hash. It's the one thing I always struggle with, and I'm sure there's a better way. Anyone care to enlighten?