diff options
Diffstat (limited to 'lib/Reply/Plugin/Packages.pm')
-rw-r--r-- | lib/Reply/Plugin/Packages.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Reply/Plugin/Packages.pm b/lib/Reply/Plugin/Packages.pm index fd48737..eb69f96 100644 --- a/lib/Reply/Plugin/Packages.pm +++ b/lib/Reply/Plugin/Packages.pm @@ -1,9 +1,25 @@ package Reply::Plugin::Packages; use strict; use warnings; +# ABSTRACT: persist the current package between lines use base 'Reply::Plugin'; +=head1 SYNOPSIS + + ; .replyrc + [Packages] + default_package = My::Scratchpad + +=head1 DESCRIPTION + +This plugin persists the state of the current package between lines. This +allows lines such as C<package Foo;> in the Reply shell to do what you'd +expect. The C<default_package> configuration option can also be used to set the +initial package to use when Reply starts up. + +=cut + sub new { my $class = shift; my %opts = @_; |