X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FTurtles.pm;h=325d3ba497f4dc31d61fa85f376522e198bfada7;hb=23ff40a312a23553e65e63e26d74af6c656efe16;hp=a8fd9df30e74ab8ed6eb6d7b48a2582c4c2e441c;hpb=aa8b764738156914d48d182ee0706e4c3d4e5c99;p=p5sagit%2FDevel-REPL.git diff --git a/lib/Devel/REPL/Plugin/Turtles.pm b/lib/Devel/REPL/Plugin/Turtles.pm index a8fd9df..325d3ba 100644 --- a/lib/Devel/REPL/Plugin/Turtles.pm +++ b/lib/Devel/REPL/Plugin/Turtles.pm @@ -1,8 +1,12 @@ +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.003028'; +use Devel::REPL::Plugin; +use Scalar::Util qw(reftype); use namespace::autoclean; has default_command_prefix => ( @@ -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 -