Think about Loose Coupling | |
PerlMonks |
Re^3: To use a module...or not.by Aristotle (Chancellor) |
on Jul 27, 2004 at 17:49 UTC ( [id://377799]=note: print w/replies, xml ) | Need Help?? |
It seems like that problem is needlessly being complicated by conflating key extraction and sorting. (This was an issue that was discussed on perl6-language about the current sort operator — how do we make it possible to isolate the extraction code from the actual sort order, which should then be possible to request declaratively?)
If you want to store the data rather than output it, you can transform the nested for-loops to an equivalent chain of maps (but note that that doesn't make it an ST). I know which version I'd prefer to maintain, even though this is probably slower than your GRT. Update: the following, which I originally wrote, is obviously wrong:
Makeshifts last the longest.
In Section
Meditations
|
|