Think about Loose Coupling | |
PerlMonks |
Re^3: need to sort array of hashby BillKSmith (Monsignor) |
on Dec 24, 2018 at 02:31 UTC ( [id://1227646]=note: print w/replies, xml ) | Need Help?? |
If there were more key/value pairs in the intermediate-level hash, we would need additional specifications to tell us which one to use in the sort. You have provided a detailed explanation of why this design could not meet such a requirement. (I am not even sure it could be modified to do so.) Even if the recommended redesign of the data structure could not be justified for current structure, one more requirement should surely tip the balance.
Bill
In Section
Seekers of Perl Wisdom
|
|