|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: hashes hash refs and arraysby aitap (Chaplain) |
| on Sep 12, 2012 at 20:45 UTC ( #993309=note: print w/ replies, xml ) | Need Help?? |
|
$share_hash{$fields[$colhash{res_stay_id}]} = [@fields];This fills the %share_hash hash. This tries to work with $share_hash scalar variable (which is different from %share_hash) as a hash reference and should probably trow some errors/warnings. Use keys %share_hash and $share_hash{$share_item} instead.
Sorry if my advice was wrong.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||