+use strict;
+use warnings;
package Devel::REPL::Plugin::History;
+# ABSTRACT: Keep track of all input, provide shortcuts !1, !-1
+
+our $VERSION = '1.003027';
use Devel::REPL::Plugin;
use namespace::autoclean;
has 'history' => (
- isa => 'ArrayRef', is => 'rw', required => 1, lazy => 1,
+ isa => 'ArrayRef', is => 'rw',
+ lazy => 1,
default => sub { [] }
);
# lazy so ReadLineHistory Plugin can set this
has 'have_readline_history' => (
- is => 'rw', required => 1, lazy => 1,
+ is => 'rw',
+ lazy => 1,
default => sub { 0 }
);
};
1;
-
-__END__
-
-=head1 NAME
-
-Devel::REPL::Plugin::History - Keep track of all input, provide shortcuts !1, !-1
-
-=cut
-