use Data::Dumper; print Dumper \%newdata;