use Data::Dumper; $hash = { a => '1', b => [1, 2], }; print "\tMy hash-> " . Dumper $hash;