Perl: the Markov chain saw | |
PerlMonks |
Re: Again on "can't use string as hash as HASH ref while "strict refs" in use"by stevieb (Canon) |
on Aug 26, 2015 at 13:23 UTC ( [id://1140019]=note: print w/replies, xml ) | Need Help?? |
Definitely not wanting to take away from Corion's answer above as it is very important, but I did notice something while glancing at the code. In the for line, you use {devices}, but in the subsequent assignment to $CFG, you use {device}.
We won't know whether this is a typo or not unless you post some Data::Dumper output.
In Section
Seekers of Perl Wisdom
|
|