Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
All,
Intrepid asked in the CB for a piece of code that would satisfy the following requirements:
These have been generalized a bit as hashref keys were involved, but I provided the following straightforward solution:
There are still ways to improve on it, but I thought it was neat and only required a minimal amount of extra effort. How could you improve (keeping the original 3 requirements in mind)?
In reply to Efficiently finding values of an extremity by Limbic~Region
|
|