From: Zakariyya Mughal Date: Sun, 17 Mar 2013 22:34:10 +0000 (-0500) Subject: use traits from Moose rather than MooseX::AttributeHelpers X-Git-Tag: v1.003016~6^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=78bc57212a47f1f64aa47ea8fd25b6f91b809bf3;p=p5sagit%2FDevel-REPL.git use traits from Moose rather than MooseX::AttributeHelpers --- diff --git a/lib/Devel/REPL/Plugin/Nopaste.pm b/lib/Devel/REPL/Plugin/Nopaste.pm index db6ff7c..485d08c 100644 --- a/lib/Devel/REPL/Plugin/Nopaste.pm +++ b/lib/Devel/REPL/Plugin/Nopaste.pm @@ -11,7 +11,7 @@ sub BEFORE_PLUGIN { } has complete_session => ( - metaclass => 'String', + traits => ['String'], is => 'rw', isa => 'Str', lazy => 1, diff --git a/lib/Devel/REPL/Plugin/Turtles.pm b/lib/Devel/REPL/Plugin/Turtles.pm index a8fd9df..5f323fe 100644 --- a/lib/Devel/REPL/Plugin/Turtles.pm +++ b/lib/Devel/REPL/Plugin/Turtles.pm @@ -12,7 +12,7 @@ has default_command_prefix => ( ); has turtles_matchers => ( - metaclass => "Collection::Array", + traits => ['Array'], isa => "ArrayRef[RegexpRef|CodeRef]", is => "rw", lazy => 1,