[Wellington-pm] Complex data structure

Ewen McNeill ewen at naos.co.nz
Wed Jul 26 23:22:05 PDT 2006


In message <1153980941.23601.90.camel at localhost.localdomain>, Lesley Walker writ
es:
>Is there a quick and simple way to reveal the contents of a complex data
>structure?

Something like:

-=- cut here -=-
use Data::Dumper;
print Dumper(\$myref), Dumper(\%myhash);
-=- cut here -=-

is probably what you're looking for.   It's an invaluable tool for
figuring out what's going on in your data structures.

Ewen


More information about the Wellington-pm mailing list