+use strict;
+use warnings;
package Devel::REPL::Plugin::DumpHistory;
+# ABSTRACT: Plugin for Devel::REPL to save or print the history
+
+our $VERSION = '1.003029';
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
## Seems to be a sequence issue with requires
-# requires qw{ history };
+# requires qw{ history };
around 'read' => sub {
my $orig = shift;
__END__
-=head1 NAME
-
-Devel::REPL::Plugin::DumpHistory - Plugin for Devel::REPL to save or print
-the history.
+=pod
=head1 SYNOPSIS
- #!/usr/bin/perl
-
- use lib './lib';
use Devel::REPL;
my $repl = Devel::REPL->new;
=head1 DESCRIPTION
-Plugin that adds the C<:dump> and C<:dump file_name> commands to the
+Plugin that adds the C<:dump> and C<:dump file_name> commands to the
repl which will print the history to STDOUT or append the history to the
file given.