use Data::Dumper; local $Data::Dumper::Useqq = 1; # print non-printable chars print Dumper \%table;