No such thing as a small change | |
PerlMonks |
Re: Data::Dumper Limitationsby vitalipom (Initiate) |
on Feb 04, 2018 at 12:19 UTC ( [id://1208417]=note: print w/replies, xml ) | Need Help?? |
Hi,
Was looking at this forum since I also was noticing some limitation. Please try to use "use strict" in such cases. Here's an error message that I've got regarding something wrong that I did, which helped me to resolve the issue (along with some typos messages that I've got also):
"Can't use string ("A") as a HASH ref while "strict refs" in use at test.pl line 10"..
It tells me that I did something like this (which is wrong): 8 my %simple_hash = (); 9 $simple_hash{'a'}= "A"; 10 $simple_hash{'a'}{'b'}= "B";
Thanks, Vitali.Pom
In Section
Seekers of Perl Wisdom
|
|