summaryrefslogtreecommitdiffstats
path: root/lib/Reply/Plugin/DataDumper.pm
blob: 7491c60078c33979a2df18411e651dd04ff5adcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package Reply::Plugin::DataDumper;
use strict;
use warnings;
# ABSTRACT: format results using Data::Dumper

use base 'Reply::Plugin';

use Data::Dumper;

=head1 SYNOPSIS

  ; .replyrc
  [DataDumper]

=head1 DESCRIPTION

This plugin uses L<Data::Dumper> to format results.

=cut

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

1;