Tue, 23 Feb 2016 01:56:58 -0500
use existing DDP filters
.dataprinter | file | annotate | diff | comparison | revisions | |
bin/homedir-cpan-mods | file | annotate | diff | comparison | revisions |
--- a/.dataprinter +++ b/.dataprinter @@ -1,8 +1,5 @@ { filters => { - 'JSON::PP::Boolean' => sub { ${$_[0]} ? 'true': 'false' }, - 'Mojo::JSON::_Bool' => sub { ${$_[0]} ? 'true': 'false' }, - 'URI::http' => sub { "URI<$_[0]>" }, - 'URI::https' => sub { "URI<$_[0]>" }, + -external => [ 'JSON', 'URI' ], } };