in reply to Re: dereferencing hash within a hash within an array
in thread dereferencing hash within a hash within an array

concerning the one-liner, this should work:
while($db->FetchRow()){ push @data, { $db->DataHash(@$fields_ref) }; }
By using the curlies you are creating an anonymous hash reference out of the hash returned by the DataHash method which is directly pushed onto @data.

-- Hofmator