Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: print out keys of hash with carriage returnsby revdiablo (Prior) |
on Nov 03, 2004 at 22:50 UTC ( [id://405027]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|