There's more than one way to do things | |
PerlMonks |
Re^3: data dumper questionby Marshall (Canon) |
on Sep 13, 2016 at 04:30 UTC ( [id://1171632]=note: print w/replies, xml ) | Need Help?? |
Hi Todd, I see from Need help with loop syntax errors, that you like to experiment. I suggest that you do more of the same with Data::Dumper to empirically see what it does with various data structures. In general you give Dumper a reference to any arbitrary structure and it figures out how to display it. Here is some "play" code to get you started: There is more than one module that can dump data, but Data::Dumper is "core" meaning that it is included in all Perl distributions and you can just assume that it is there without having to install anything. Have fun experimenting.
In Section
Seekers of Perl Wisdom
|
|