do not index these secondary packages - they cannot be loaded independently
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / Turtles.pm
index ba26705..387f20b 100644 (file)
@@ -1,9 +1,13 @@
+use strict;
+use warnings;
 package Devel::REPL::Plugin::Turtles;
-use Devel::REPL::Plugin;
+# ABSTRACT: Generic command creation using a read hook
 
-use Scalar::Util qw(reftype);
+our $VERSION = '1.003027';
 
-use namespace::clean -except => [ 'meta' ];
+use Devel::REPL::Plugin;
+use Scalar::Util qw(reftype);
+use namespace::autoclean;
 
 has default_command_prefix => (
   isa => "RegexpRef",
@@ -12,7 +16,7 @@ has default_command_prefix => (
 );
 
 has turtles_matchers => (
-  metaclass => "Collection::Array",
+  traits => ['Array'],
   isa => "ArrayRef[RegexpRef|CodeRef]",
   is  => "rw",
   lazy => 1,
@@ -69,9 +73,7 @@ sub match_turtles {
 
 __END__
 
-=head1 NAME
-
-Devel::REPL::Plugin::Turtles - Generic command creation using a read hook
+=pod
 
 =head1 DESCRIPTION
 
@@ -88,4 +90,3 @@ if other uses for that character are needed (e.g., '#' for the
 shell escape character in the PDL shell.
 
 =cut
-