Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Domain Nodelet?
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 romping around the Monastery: (None)
    As of 2021-10-17 12:20 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My first memorable Perl project was:







      Results (71 votes). Check out past polls.

      Notices?