X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FCompletion.pm;h=df99995768855a4e40ef496ea031087b68f7ad72;hp=1e2b09aca9e1243271dbd086b19db18f1d93e05a;hb=9d2a4940f5958d82828272364ef754e9290b6113;hpb=fd81abf13426f0eea8915247e7909d20a4f98661 diff --git a/lib/Devel/REPL/Plugin/Completion.pm b/lib/Devel/REPL/Plugin/Completion.pm index 1e2b09a..df99995 100644 --- a/lib/Devel/REPL/Plugin/Completion.pm +++ b/lib/Devel/REPL/Plugin/Completion.pm @@ -1,8 +1,14 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Completion; +# ABSTRACT: Extensible tab completion + +our $VERSION = '1.003027'; + use Devel::REPL::Plugin; use Scalar::Util 'weaken'; use PPI; -use namespace::clean -except => [ 'meta' ]; +use namespace::autoclean; has current_matches => ( is => 'rw', @@ -122,13 +128,17 @@ sub last_ppi_element { __END__ -=head1 NAME +=pod + +=head1 NOTE -Devel::REPL::Plugin::Completion - Extensible tab completion +By default, the Completion plugin explicitly does I use the Gnu readline +or Term::ReadLine::Perl fallback filename completion. + +Set the attribute C to 1 to enable this feature. =head1 AUTHOR Shawn M Moore, C<< >> =cut -