1 package Devel::REPL::Plugin::DDS;
3 use Devel::REPL::Plugin;
4 use Data::Dump::Streamer ();
6 around 'format_result' => sub {
9 my $to_dump = (@_ > 1) ? [@_] : $_[0];
12 if (overload::Method($to_dump, '""')) {
15 my $dds = Data::Dump::Streamer->new;
16 $dds->Freezer(sub { "$_[0]"; });
32 Devel::REPL::Plugin::DDS - Format results with Data::Dump::Streamer