X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FOutputCache.pm;h=924f089812c08d47b2e89e3a19279d81263ab5a4;hp=404c0b675e193a93fb06b08a3dac416bdfbd3fea;hb=e2d0b0198529e2e06593df8ebab7a8413bc932e1;hpb=9b7bfb6ac233dca407f12db47aa8dda7c9c1d338 diff --git a/lib/Devel/REPL/Plugin/OutputCache.pm b/lib/Devel/REPL/Plugin/OutputCache.pm index 404c0b6..924f089 100644 --- a/lib/Devel/REPL/Plugin/OutputCache.pm +++ b/lib/Devel/REPL/Plugin/OutputCache.pm @@ -1,19 +1,20 @@ package Devel::REPL::Plugin::OutputCache; use Devel::REPL::Plugin; -use namespace::autoclean; +use namespace::sweep; +use MooX::Types::MooseLike::Base qw(ArrayRef Bool); has output_cache => ( is => 'rw', - isa => 'ArrayRef', + isa => ArrayRef, default => sub { [] }, lazy => 1, ); has warned_about_underscore => ( is => 'rw', - isa => 'Bool', - default => 0, + isa => Bool, + default => sub { 0 }, lazy => 1, );