garu/Data-Printer — comment on commit 1cc19fcecf39bc2ee5b4a70d056712bea0e5a52f
File: lib/Data/Printer.pm line 335
By mvuets:

Just curious: how it will look like if binary data is encountered? E.g.: `\001`, `\002` etc. You might like to do smth like `$str =~ s/([\x00-\x0f])/sprintf '\\x%02x', ord $1/ge;` after well-known escape chars are substituted.