# HG changeset patch # User Meredith Howard # Date 1519023905 18000 # Node ID ef18d50728ef3b75ba24dcaac429914424765d49 # Parent 4573c0ed4d0d0908b48be9c2995cefd967da9e67 make data-printer config private to Reply diff --git a/.dataprinter b/.dataprinter deleted file mode 100644 --- a/.dataprinter +++ /dev/null @@ -1,5 +0,0 @@ -{ - filters => { - -external => [ 'JSON', 'URI' ], - } -}; diff --git a/.lib/perl5/ReplyStartup.pm b/.lib/perl5/ReplyStartup.pm --- 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.