X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FOutputCache.pm;h=c40455390165a55f77f318fd6dcbe8c788a89c43;hb=5ac988901b5ccbf3b31cdf980534d0c9631d9e4a;hp=404c0b675e193a93fb06b08a3dac416bdfbd3fea;hpb=aa8b764738156914d48d182ee0706e4c3d4e5c99;p=p5sagit%2FDevel-REPL.git diff --git a/lib/Devel/REPL/Plugin/OutputCache.pm b/lib/Devel/REPL/Plugin/OutputCache.pm index 404c0b6..c404553 100644 --- a/lib/Devel/REPL/Plugin/OutputCache.pm +++ b/lib/Devel/REPL/Plugin/OutputCache.pm @@ -1,4 +1,9 @@ +use strict; +use warnings; package Devel::REPL::Plugin::OutputCache; +# ABSTRACT: Remember past results, _ is most recent + +our $VERSION = '1.003028'; use Devel::REPL::Plugin; use namespace::autoclean; @@ -50,9 +55,7 @@ around 'eval' => sub { __END__ -=head1 NAME - -Devel::REPL::Plugin::OutputCache - remember past results, _ is most recent +=pod =head1 SYNOPSIS @@ -73,7 +76,7 @@ your result instead of having to type it in all at once, or store it in intermediate variables. C also provides C<< $_REPL->output_cache >>, an array reference of all results in this session. -Devel::REPL already has a similar plugin, L. +L already has a similar plugin, L. There are some key differences though: =over 4 @@ -101,7 +104,7 @@ does the parsing -- no surprises. The C<_> sub is shared across all packages. This means that if a module is using the C<_> sub, then there is a conflict and you should not use this -plugin. For example, L uses the C<_> sub for localization. Jifty is the +plugin. For example, L uses the C<_> sub for localization. L is the only known user. =head1 SEE ALSO