in reply to Pretty Print Dumper for Hash of Array

Hi,
as far as I can see it in the manpages for Data::Dumper, it is not possible to do it like this.
You might have to write your own pretty-printer for that. Something along the lines of:
#!/usr/bin/perl use strict; use warnings; my $hoa = {a => [1,2], 'b'=>[1,3], c=> [2,0]}; foreach (keys %{$hoa}) { print "\t'$_' => [" . join(',', @{$hoa->{$_}}) . "],\n"; }
prints:
'c' => [2,0], 'a' => [1,2], 'b' => [1,3],
Regards,
svenXY