improve diagnostics of dbm_filter_util.pl by using Data::Dumper::qquote
authorYves Orton <demerphq@gmail.com>
Wed, 29 Aug 2012 07:38:07 +0000 (09:38 +0200)
committerYves Orton <demerphq@gmail.com>
Fri, 26 Oct 2012 09:46:31 +0000 (11:46 +0200)
commit9493bd02dc3e10bea1209cd27f5c6a7603b1f521
tree9c280e41b2a2bcd318e322258d4a42bee9253271
parentbe57ffc745a68648225ad2055a20f4b293032f87
improve diagnostics of dbm_filter_util.pl by using Data::Dumper::qquote

We are testing things like packed strings. If we output the bytes raw
via diag we upset terminal layers expecting utf8, and generally output
unreadable garbage regardless. So use Data::Dumper::qqoute() to
preprocess diagnositics output.
lib/dbm_filter_util.pl