skip compile tests for plugins using optional features - we conditionally test these...
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / Turtles.pm
index ba26705..b3b8abb 100644 (file)
@@ -1,9 +1,11 @@
+use strict;
+use warnings;
 package Devel::REPL::Plugin::Turtles;
 use Devel::REPL::Plugin;
 
 use Scalar::Util qw(reftype);
 
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
 
 has default_command_prefix => (
   isa => "RegexpRef",
@@ -12,7 +14,7 @@ has default_command_prefix => (
 );
 
 has turtles_matchers => (
-  metaclass => "Collection::Array",
+  traits => ['Array'],
   isa => "ArrayRef[RegexpRef|CodeRef]",
   is  => "rw",
   lazy => 1,