summaryrefslogtreecommitdiffstats
path: root/lib/Reply/Plugin/Hints.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-03 15:18:17 -0500
committerJesse Luehrs <doy@tozt.net>2013-06-03 15:51:17 -0500
commitec069554b263d4d3a60a315089e170b92badd1d8 (patch)
tree38e4b6cb2196ee0b56aa33c29df3a94c53ad1e20 /lib/Reply/Plugin/Hints.pm
parent60f235d03fba8232e7f691550ee715e1cfb9c5b6 (diff)
downloadreply-ec069554b263d4d3a60a315089e170b92badd1d8.tar.gz
reply-ec069554b263d4d3a60a315089e170b92badd1d8.zip
start on some docs
Diffstat (limited to 'lib/Reply/Plugin/Hints.pm')
-rw-r--r--lib/Reply/Plugin/Hints.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Reply/Plugin/Hints.pm b/lib/Reply/Plugin/Hints.pm
index ac31ceb..d36d14a 100644
--- a/lib/Reply/Plugin/Hints.pm
+++ b/lib/Reply/Plugin/Hints.pm
@@ -11,9 +11,24 @@ BEGIN {
use strict;
use warnings;
+# ABSTRACT: persists lexical hints across input lines
use base 'Reply::Plugin';
+=head1 SYNOPSIS
+
+ ; .replyrc
+ [Hints]
+
+=head1 DESCRIPTION
+
+This plugin persists the values of various compile time lexical hints between
+evaluated lines. This means, for instance, that entering a line like C<use
+strict> at the Reply prompt will cause C<strict> to be enabled for all future
+lines (at least until C<no strict> is given).
+
+=cut
+
sub new {
my $class = shift;