in reply to Sorting SQL results
print F $row_ref->{$_} for sort { $a <=> $b } keys %$row_ref;
Sorry, you want to print the userid first. Just do
print F $row_ref->{$_} for qw(userid giftid);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sorting SQL results
by nickt9999 (Acolyte) on Oct 11, 2013 at 18:03 UTC | |
by Anonymous Monk on Oct 11, 2013 at 21:04 UTC |