git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@5877
bd8105ee-0ff8-0310-8827-fb3f25b6796d
use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
+sub BEFORE_PLUGIN {
+ my $self = shift;
+ $self->load_plugin('Completion');
+}
+
around complete => sub {
my $orig = shift;
my ($self, $text, $document) = @_;
use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
+sub BEFORE_PLUGIN {
+ my $self = shift;
+ $self->load_plugin('Completion');
+}
+
around complete => sub {
my $orig = shift;
my ($self, $text, $document) = @_;
-#!/usr/bin/perl
-
package Devel::REPL::Plugin::CompletionDriver::Turtles;
use Devel::REPL::Plugin;
-
use namespace::clean -except => [ "meta" ];
+sub BEFORE_PLUGIN {
+ my $self = shift;
+ $self->load_plugin('Completion');
+}
+
around complete => sub {
my $orig = shift;
my ($self, $text, $document) = @_;