X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FOutputCache.pm;h=924f089812c08d47b2e89e3a19279d81263ab5a4;hb=moo;hp=38374e8707216a055fd7cceb14d7ac80ca5ec740;hpb=588f0734817915ab4f5763831e7f4ca45c235ce2;p=p5sagit%2FDevel-REPL.git diff --git a/lib/Devel/REPL/Plugin/OutputCache.pm b/lib/Devel/REPL/Plugin/OutputCache.pm index 38374e8..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 Moose::Role; -use namespace::clean -except => [ 'meta' ]; +use Devel::REPL::Plugin; +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, );