- now using native Moose attribute traits, instead of the deprecated
MooseX::AttributeHelper (thanks, Justin Hunter!)
+ - now using namespace::autoclean rather than namespace::clean (thanks, Karen
+ Etheridge!)
1.003013
- Make Sys::SigAction optional dependency for Win32 systems
- Apply some plugin related patchs from Caleb Cushing
requires 'Moose' => '0.93';
requires 'MooseX::Object::Pluggable' => '0.0009';
requires 'MooseX::Getopt' => '0.18';
-requires 'namespace::clean';
+requires 'namespace::autoclean';
requires 'File::HomeDir';
requires 'Task::Weaken';
requires 'B::Concise';
use Term::ReadLine;
use Moose;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
use 5.008001; # backwards compat, doesn't warn like 5.8.1
our $VERSION = '1.003013';
=item *
-L<namespace::clean>
+L<namespace::autoclean>
=item *
use Moose; ### advanced OOP system for Perl
### keep those exports/imports out of our namespace
- use namespace::clean -except => [ 'meta' ];
+ use namespace::autoclean;
with 'Devel::REPL::Profile'; ## seem perldoc Muse
B::Concise::compileOpts(qw(-nobanner));
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
use Devel::REPL::Plugin;
use Term::ANSIColor;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has normal_color => (
is => 'rw', lazy => 1,
use Devel::REPL::Plugin;
use Scalar::Util qw(weaken);
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
use vars qw($COMMAND_INSTALLER);
has 'command_set' => (
use Devel::REPL::Plugin;
use Scalar::Util 'weaken';
use PPI;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has current_matches => (
is => 'rw',
package Devel::REPL::Plugin::CompletionDriver::Globals;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
use Devel::REPL::Plugin;
use File::Next;
use File::Spec;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
package Devel::REPL::Plugin::CompletionDriver::Keywords;
use Devel::REPL::Plugin;
use B::Keywords qw/@Functions @Barewords/;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
package Devel::REPL::Plugin::CompletionDriver::LexEnv;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
package Devel::REPL::Plugin::CompletionDriver::Methods;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
package Devel::REPL::Plugin::CompletionDriver::Turtles;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ "meta" ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
package Devel::REPL::Plugin::DumpHistory;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
## Seems to be a sequence issue with requires
# requires qw{ history };
package Devel::REPL::Plugin::FancyPrompt;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has 'fancy_prompt' => (
is => 'rw', lazy => 1,
package Devel::REPL::Plugin::FindVariable;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub find_variable {
my ($self, $name) = @_;
package Devel::REPL::Plugin::History;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has 'history' => (
isa => 'ArrayRef', is => 'rw', required => 1, lazy => 1,
use Devel::REPL::Plugin;
use Sys::SigAction qw(set_sig_handler);
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
around 'run' => sub {
my ($orig, $self) = (shift, shift);
package Devel::REPL::Plugin::LexEnv;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
use Lexical::Persistence;
sub BEFORE_PLUGIN {
use Devel::REPL::Plugin;
use PPI;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has 'continuation_prompt' => (
is => 'rw', required => 1, lazy => 1,
package Devel::REPL::Plugin::NewlineHack;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
warn <<EOW;
No longer required, extra newline automatically produced for Gnu readline
use Devel::REPL::Plugin;
use Moose::Util::TypeConstraints;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
use Scalar::Util qw(blessed);
sub BEFORE_PLUGIN {
package Devel::REPL::Plugin::OutputCache;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has output_cache => (
is => 'rw',
use PPI;
use PPI::Dumper;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
package Devel::REPL::Plugin::Packages;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ "meta" ];
+use namespace::autoclean;
use vars qw($PKG_SAVE);
use Devel::Peek qw(Dump);
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
sub BEFORE_PLUGIN {
my $self = shift;
package Devel::REPL::Plugin::Refresh;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
use Module::Refresh;
# before evaluating the code, ask Module::Refresh to refresh
package Devel::REPL::Plugin::ShowClass;
use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has 'metaclass_cache' => (
is => 'ro',
use Devel::REPL::Plugin;
use Time::HiRes 'time';
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
around 'eval' => sub {
my $orig = shift;
use Scalar::Util qw(reftype);
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
has default_command_prefix => (
isa => "RegexpRef",
package Devel::REPL::Profile;
use Moose::Role;
-use namespace::clean -except => [ 'meta' ];
requires 'apply_profile';
package Devel::REPL::Profile::MyProject;
use Moose;
- use namespace::clean -except => [ 'meta' ];
+ use namespace::autoclean;
with 'Devel::REPL::Profile';
package Devel::REPL::Profile::Default;
use Moose;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
with 'Devel::REPL::Profile';
package Devel::REPL::Profile::Minimal;
use Moose;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
with 'Devel::REPL::Profile';
use File::HomeDir;
use File::Spec;
use vars qw($CURRENT_SCRIPT);
-use namespace::clean -except => [ qw(meta) ];
+use namespace::autoclean;
with 'MooseX::Getopt';