summaryrefslogtreecommitdiffstats
path: root/lib/App/REPL/Plugin/DataDump.pm
blob: 7d2934d1621b2390099302c0cbe1678b3e1d01f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package App::REPL::Plugin::DataDump;
use strict;
use warnings;

use base 'App::REPL::Plugin';

use Data::Dump 'pp';

sub mangle_result {
    my $self = shift;
    my (@result) = @_;
    return @result ? pp(@result) : ();
}

1;