Is there a way I can explictly declare that each array
cell contains a hash?

Here is the only way I know to do it:

my @PCEs=[];
while ($Data->FetchRow()) {
  my %dh = $Data->DataHash();
  $PCEs[$cn]{$dh{"id"}} = $dh{"ridPCE"};
}

This "my" declaration only says that it is an array,
not an array of hashes. Can I improve upon this?

     Thanks,
       Sieg


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to