in reply to Re^2: SQLite (DBD) Sorting
in thread SQLite (DBD) Sorting
Ah. My bad. You need to access the correct column in the row array.
foreach my $row_db ( sort { deaccent($a->[1]) cmp deaccent($b->[1]) } +@$selected ) { my ($ID, $column1, $column2) = @$row_db; print "$column1\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: SQLite (DBD) Sorting
by fanticla (Scribe) on Apr 30, 2010 at 09:02 UTC |