"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.
In reply to Re^4: Using 'keys' on a list
by GrandFather
in thread Using 'keys' on a list
by lammey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |