Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Data::Dumper Limitations

by vitalipom (Initiate)
on Feb 04, 2018 at 12:19 UTC ( #1208417=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208417]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2021-02-27 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?