in reply to Re^5: map question (hash slice)
in thread map question
Maybe. Depends on whether you are checking for identity or equality. If you are checking for identify, then yeah, the key sub could simply return its argument, giving your original code.
So my comment stands. Your solution is a specific case of my code that only works if one makes multiple assumptions.
|
---|