fetchrow_hashref returns one record, a reference to a hash. The keys to the hash are the database field names, which help in remembering what data is being referenced.
Example:
while(my $hashref = $handle->fetchrow_hashref){ print "Title: $hashref->{‘title’}, Author: $hashref->{‘author’}, Price: $hashref->{‘price’}\n"; }