From: Graham Knop Date: Fri, 10 Feb 2012 20:57:27 +0000 (-0500) Subject: add pod documentation to tinyrepl script X-Git-Tag: v1.003000~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed9faa559a0618007bf226651f2d0e5a75f0b577;p=p5sagit%2FEval-WithLexicals.git add pod documentation to tinyrepl script --- diff --git a/Changes b/Changes index 432b3d0..f22e4e8 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ + - Add documentation to tinyrepl script (HAARG) + 1.2.0 2011-07-04 21:42:30 - HintPersistence plugin to persist compile time hints (DGL) - Support plugins (DGL) diff --git a/bin/tinyrepl b/bin/tinyrepl index f9087ea..8530caf 100755 --- a/bin/tinyrepl +++ b/bin/tinyrepl @@ -31,3 +31,53 @@ while (1) { } or @ret = ("Error!", $@); print Dumper @ret; } + +__END__ + +=head1 NAME + +tinyrepl - Tiny REPL + +=head1 SYNOPSIS + + $ tinyrepl + re.pl$ "s" x 5 + "sssss" + re.pl$ exit + + $ tinyrepl --plugin HintPersistence + +=head1 DESCRIPTION + +tinyrepl is a minimal pure-Perl REPL. It is just a small wrapper +around L. + +=head1 OPTIONS + +=over 4 + +=item C<--plugin=> + +Loads a plugin into the REPL. See L. + +=back + +=head1 AUTHOR + +Matt S. Trout + +=head1 CONTRIBUTORS + +David Leadbeater + +=head1 COPYRIGHT + +Copyright (c) 2012 the Eval::WithLexicals L and L +as listed above. + +=head1 LICENSE + +This library is free software and may be distributed under the same terms +as perl itself. + +=cut