You can also directly ask DBI to return you a hash:
my $hash = $sth->fetchrow_hashref(); [download]
In reply to Re^2: oracle connection by Corion in thread oracle connection by johnpat123