The code seams right to me. ? If you sort by letters (e.g. by file type),
mind to use cmp instead of <=> :
foreach (sort { $database{$a}[0] cmp $database{$b}[0]} @sample) {
And do not expect to sort great amounts of data by this; better use MySQL
for that.
And better sort pictures of
Hi All,
I hope I am not wasting anyones time here, as I seem
to have arrived at a solution. I just want to make
sure that my code is really doing what I want it to,
or simplying appearing to.
I am building a database of illustrations into a hash
of arrays, keyed by name. The basic structure is a