in reply to Re: Ordering return from fetchrow_hashref
in thread Ordering return from fetchrow_hashref
The other way to do is ... we can get all the column headers using $sth->{NAME} array.
get the values using
$sth->fetchrow_array() - This would give column values in an order.
@{$sth->{NAME}} - This would give column names in an order.