in reply to Data::Dumper Limitations
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