Perl: the Markov chain saw | |
PerlMonks |
Re^5: Array of hashes reference problemby djohnston (Monk) |
on Jun 22, 2005 at 20:29 UTC ( [id://469165]=note: print w/replies, xml ) | Need Help?? |
You could try ($arrayAoH[$j]||={})->{$key} = $value; which should get you past that warning, but I suspect you will encounter other issues. I also suspect that there might be a much simpler algorithm to get done whatever it is you're attempting to do. Perhaps it'd be best if you post more sample data along with a detailed description of the data structure you're trying to build out of it.
In Section
Seekers of Perl Wisdom
|
|