X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FDDS.pm;h=b9c3f33ac77d5aa88d74624d0f3d3d3b3dfcdfe1;hp=20ead7eef6f2580524ad3ef8a992d215633425e6;hb=565d0d47c0967e72abd4e54ce4aed9ffd2f3dbc9;hpb=bbea729e0b9c3eb63931565b7047b447e3e45b88 diff --git a/lib/Devel/REPL/Plugin/DDS.pm b/lib/Devel/REPL/Plugin/DDS.pm index 20ead7e..b9c3f33 100644 --- a/lib/Devel/REPL/Plugin/DDS.pm +++ b/lib/Devel/REPL/Plugin/DDS.pm @@ -9,7 +9,7 @@ around 'format_result' => sub { my $to_dump = (@_ > 1) ? [@_] : $_[0]; my $out; if (ref $to_dump) { - if (overload::Method($to_dump, '""') { + if (overload::Method($to_dump, '""')) { $out = "$to_dump"; } else { my $dds = Data::Dump::Streamer->new;