X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FDumpHistory.pm;h=80bd7cd7ab1d8df39341ae2c745bf84a1e8e45f1;hp=12070f65be2becd252709f0169e4f0e6d56fb48e;hb=HEAD;hpb=f049111ed91d199e926de686b2a6f179a89cba18 diff --git a/lib/Devel/REPL/Plugin/DumpHistory.pm b/lib/Devel/REPL/Plugin/DumpHistory.pm index 12070f6..80bd7cd 100644 --- a/lib/Devel/REPL/Plugin/DumpHistory.pm +++ b/lib/Devel/REPL/Plugin/DumpHistory.pm @@ -1,12 +1,15 @@ use strict; use warnings; package Devel::REPL::Plugin::DumpHistory; +# ABSTRACT: Plugin for Devel::REPL to save or print the history + +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use namespace::autoclean; ## Seems to be a sequence issue with requires -# requires qw{ history }; +# requires qw{ history }; around 'read' => sub { my $orig = shift; @@ -43,10 +46,7 @@ sub print_history { __END__ -=head1 NAME - -Devel::REPL::Plugin::DumpHistory - Plugin for Devel::REPL to save or print -the history. +=pod =head1 SYNOPSIS @@ -60,7 +60,7 @@ the history. =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.