http://www.perlmonks.org?node_id=405027


in reply to Re: print out keys of hash with carriage returns
in thread print out keys of hash with carriage returns

That is indeed another way to do the same thing, but many argue against using map in void context. In older versions of perl, it was inefficient, because it would build a list of return values. In newer versions of perl, it's just bad style.