Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Data::Dumper Limitations

by vitalipom (Initiate)
on Feb 04, 2018 at 12:19 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1208417]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found