http://www.perlmonks.org?node_id=979061


in reply to Re^2: String contents
in thread String contents

use strict; use warnings; use Data::Dumper; #do some stuff that generates a structure called $struct->stuff print Dumper($struct->stuff);

or if you want a structure more stringified, use Data::Dump as already mentioned