make room for $VERSION after package declaration (newer [PkgVersion] requires it)
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / Turtles.pm
index ba26705..a908c8f 100644 (file)
@@ -1,9 +1,10 @@
+use strict;
+use warnings;
 package Devel::REPL::Plugin::Turtles;
-use Devel::REPL::Plugin;
 
+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 +13,7 @@ has default_command_prefix => (
 );
 
 has turtles_matchers => (
-  metaclass => "Collection::Array",
+  traits => ['Array'],
   isa => "ArrayRef[RegexpRef|CodeRef]",
   is  => "rw",
   lazy => 1,