in reply to Re^3: Using 'keys' on a list
in thread Using 'keys' on a list
"I don't know why a sub() in general would create a hash, only to just pass back just the keys?"
There are likely to be lots of reasons, but a simple one is to generate a list of unique results from some process.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom