X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FCommands.pm;h=159197751fd973938fc14441563af1be2bb2a85b;hp=04aa22e8d499cedf9b5ea6ede3170ef2a7c02528;hb=master;hpb=aa8b764738156914d48d182ee0706e4c3d4e5c99 diff --git a/lib/Devel/REPL/Plugin/Commands.pm b/lib/Devel/REPL/Plugin/Commands.pm index 04aa22e..1591977 100644 --- a/lib/Devel/REPL/Plugin/Commands.pm +++ b/lib/Devel/REPL/Plugin/Commands.pm @@ -1,13 +1,18 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Commands; +# ABSTRACT: Generic command creation plugin using injected functions + +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Scalar::Util qw(weaken); - use namespace::autoclean; -use vars qw($COMMAND_INSTALLER); + +our $COMMAND_INSTALLER; has 'command_set' => ( - is => 'ro', required => 1, + is => 'ro', lazy => 1, default => sub { {} } ); @@ -63,12 +68,3 @@ around 'compile' => sub { }; 1; - -__END__ - -=head1 NAME - -Devel::REPL::Plugin::Commands - Generic command creation plugin using injected functions - -=cut -