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.while($db->FetchRow()){ push @data, { $db->DataHash(@$fields_ref) }; }
-- Hofmator
In reply to Re: Re: dereferencing hash within a hash within an array
by Hofmator
in thread dereferencing hash within a hash within an array
by lpoht
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |