Data::Dumper::Perltidy encapsulates both Data::Dumper and Perl::Tidy to provide a function that stringifies a Perl data structure in a pretty printed format. WWW: https://metacpan.org/release/Data-Dumper-Perltidy