package Devel::REPL::Error;
+
use Moose;
# FIXME get nothingmuch to refactor and release his useful error object
-package Devel::REPL::Plugin;
-
use strict;
use warnings;
+package Devel::REPL::Plugin;
+
use Devel::REPL::Meta::Plugin;
use Moose::Role ();
use strict;
use warnings;
package Devel::REPL::Plugin::B::Concise;
-use Devel::REPL::Plugin;
+use Devel::REPL::Plugin;
use B::Concise 0.62 ();
+use namespace::autoclean;
B::Concise::compileOpts qw(-nobanner);
-use namespace::autoclean;
-
sub BEFORE_PLUGIN {
my $self = shift;
$self->load_plugin('Turtles');
use strict;
use warnings;
package Devel::REPL::Plugin::CompletionDriver::Globals;
+
use Devel::REPL::Plugin;
use Devel::REPL::Plugin::Completion; # die early if cannot load
use namespace::autoclean;
use strict;
use warnings;
package Devel::REPL::Plugin::CompletionDriver::INC;
+
use Devel::REPL::Plugin;
use Devel::REPL::Plugin::Completion; # die early if cannot load
use File::Next;
use strict;
use warnings;
package Devel::REPL::Plugin::CompletionDriver::Keywords;
+
use Devel::REPL::Plugin;
use Devel::REPL::Plugin::Completion; # die early if cannot load
use B::Keywords qw/@Functions @Barewords/;
use strict;
use warnings;
package Devel::REPL::Plugin::CompletionDriver::LexEnv;
+
use Devel::REPL::Plugin;
use Devel::REPL::Plugin::Completion; # die early if cannot load
use namespace::autoclean;
use strict;
use warnings;
package Devel::REPL::Plugin::CompletionDriver::Methods;
+
use Devel::REPL::Plugin;
use Devel::REPL::Plugin::Completion; # die early if cannot load
use namespace::autoclean;
use strict;
use warnings;
package Devel::REPL::Plugin::CompletionDriver::Turtles;
+
use Devel::REPL::Plugin;
use Devel::REPL::Plugin::Completion; # die early if cannot load
use namespace::autoclean;
use strict;
use warnings;
package Devel::REPL::Plugin::PPI;
-use Devel::REPL::Plugin;
+use Devel::REPL::Plugin;
use PPI;
use PPI::Dumper;
-
use namespace::autoclean;
sub BEFORE_PLUGIN {
use strict;
use warnings;
package Devel::REPL::Plugin::Packages;
-use Devel::REPL::Plugin;
+use Devel::REPL::Plugin;
use namespace::autoclean;
our $PKG_SAVE;
use strict;
use warnings;
package Devel::REPL::Plugin::Peek;
-use Devel::REPL::Plugin;
+use Devel::REPL::Plugin;
use Devel::Peek qw(Dump);
-
use namespace::autoclean;
sub BEFORE_PLUGIN {
use strict;
use warnings;
package Devel::REPL::Plugin::ShowClass;
+
use Devel::REPL::Plugin;
use namespace::autoclean;
use strict;
use warnings;
package Devel::REPL::Plugin::Turtles;
-use Devel::REPL::Plugin;
+use Devel::REPL::Plugin;
use Scalar::Util qw(reftype);
-
use namespace::autoclean;
has default_command_prefix => (