Mon, 19 Feb 2018 02:05:05 -0500
make data-printer config private to Reply
.dataprinter | file | annotate | diff | comparison | revisions | |
.lib/perl5/ReplyStartup.pm | file | annotate | diff | comparison | revisions |
deleted file mode 100644 --- a/.dataprinter +++ /dev/null @@ -1,5 +0,0 @@ -{ - filters => { - -external => [ 'JSON', 'URI' ], - } -};
--- a/.lib/perl5/ReplyStartup.pm +++ b/.lib/perl5/ReplyStartup.pm @@ -7,13 +7,17 @@ use Import::Into; sub import { my $caller = caller(0); - import::into(feature => $caller, ':5.14'); import::into($_ => $caller) for qw( strict warnings experimentals Path::Tiny ); + import::into(feature => $caller, ':5.14'); + import::into('Data::Printer' => $caller, { + filters => {-external => ['JSON', 'URI']}, + class => {show_methods => 'public', inherited => 'public'}, + }); # Run anything in .replyrc.local.pl in the context of # main, at compile time.