requires 'Term::ReadLine';
# rest
-requires 'Moose' => '0.74';
+requires 'Moose' => '0.93';
requires 'MooseX::Object::Pluggable' => '0.0009';
requires 'MooseX::Getopt' => '0.18';
-requires 'MooseX::AttributeHelpers' => '0.16';
requires 'namespace::clean';
requires 'File::HomeDir';
requires 'Task::Weaken';
=item *
-L<MooseX::AttributeHelpers> >= 0.16
-
-=item *
-
L<namespace::clean>
=item *
package Devel::REPL::Plugin::Nopaste;
use Devel::REPL::Plugin;
-use MooseX::AttributeHelpers;
use Moose::Util::TypeConstraints;
use namespace::clean -except => [ 'meta' ];
use Scalar::Util qw(blessed);
isa => 'Str',
lazy => 1,
default => '',
- provides => {
- append => 'add_to_session',
+ handles => {
+ add_to_session => 'append',
},
);
use Scalar::Util qw(reftype);
-use MooseX::AttributeHelpers;
-
use namespace::clean -except => [ 'meta' ];
has default_command_prefix => (
is => "rw",
lazy => 1,
default => sub { my $prefix = shift->default_command_prefix; [qr/^ $prefix (\w+) \s* (.*) /x] },
- provides => {
- unshift => "add_turtles_matcher",
+ handles => {
+ add_turtles_matcher => 'unshift',
},
);