Perl: the Markov chain saw | |
PerlMonks |
Re^3: Generation of Array of hashes by reading a fileby choroba (Cardinal) |
on Jan 04, 2018 at 23:21 UTC ( [id://1206723]=note: print w/replies, xml ) | Need Help?? |
$rec is not a hash, it's a hash reference. When you change the referenced hash, all references pointing to it see the new value.
In Section
Seekers of Perl Wisdom
|
|