in reply to Re^2: Sort in multilevel hash
in thread Sort in multilevel hash
Well, you should use DBI placeholders or quote, otherwise you'll fall for http://bobby-tables.com/
To sort through SQL by shiptofax, its usually a murder of appending
ORDER BY s.shiptofax
And then the results will be sorted, and you won't have to sort your array (you have an array of hashes , stored in a hash, you'd be sorting the array, which you won't have to do if you adjust your query with an ORDER BY clause)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Sort in multilevel hash
by gueriniere (Initiate) on Jan 09, 2012 at 09:34 UTC | |
by roboticus (Chancellor) on Jan 09, 2012 at 11:00 UTC | |
by Anonymous Monk on Jan 09, 2012 at 09:51 UTC | |
by Anonymous Monk on Jan 09, 2012 at 09:55 UTC |