diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-06-03 15:18:17 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-06-03 15:51:17 -0500 |
commit | ec069554b263d4d3a60a315089e170b92badd1d8 (patch) | |
tree | 38e4b6cb2196ee0b56aa33c29df3a94c53ad1e20 /lib/Reply/Plugin/Packages.pm | |
parent | 60f235d03fba8232e7f691550ee715e1cfb9c5b6 (diff) | |
download | reply-ec069554b263d4d3a60a315089e170b92badd1d8.tar.gz reply-ec069554b263d4d3a60a315089e170b92badd1d8.zip |
start on some docs
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 = @_; |