X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FHistory.pm;h=4f68a5bf636f90ff515c933c260db00d582c5686;hb=e2d0b0198529e2e06593df8ebab7a8413bc932e1;hp=9afa2be7d2855ed6cdef3d4891167d0e16a209b4;hpb=784530113a2b8f94299b9682d9d9d6ddedacb227;p=p5sagit%2FDevel-REPL.git diff --git a/lib/Devel/REPL/Plugin/History.pm b/lib/Devel/REPL/Plugin/History.pm index 9afa2be..4f68a5b 100644 --- a/lib/Devel/REPL/Plugin/History.pm +++ b/lib/Devel/REPL/Plugin/History.pm @@ -1,10 +1,11 @@ package Devel::REPL::Plugin::History; use Devel::REPL::Plugin; -use namespace::clean -except => [ 'meta' ]; +use namespace::sweep; +use MooX::Types::MooseLike::Base qw(ArrayRef); has 'history' => ( - isa => 'ArrayRef', is => 'rw', required => 1, lazy => 1, + isa => ArrayRef, is => 'rw', required => 1, lazy => 1, default => sub { [] } );