edumper - unescaping the dumped multibyte strings by Data::Dumper
For example.
$ cat hoge.pl use utf8; use Data::Dumper; print Dumper ['日本語表示能力'];
Normaly, escaped like below.
$ perl hoge.pl $VAR1 = [ "\x{65e5}\x{672c}\x{8a9e}\x{8868}\x{793a}\x{80fd}\x{529b}" ];
Piped edumper.
$ perl hoge.pl | edumper $VAR1 = [ "日本語表示能力" ];
CONGRATS!
If dumped string is not utf8, then you should pass the encoding option to edumper.
$ perl hoge.pl | edumper cp932
Dai Okabayashi <bayashi@cpan.org>
Data::Dumper::AutoEncode
Data::Dumper
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Data::Dumper::AutoEncode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Dumper::AutoEncode
CPAN shell
perl -MCPAN -e shell install Data::Dumper::AutoEncode
For more information on module installation, please visit the detailed CPAN module installation guide.