X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FFancyPrompt.pm;h=fea7f2a7ef49f275a4ec1136888657c8b3373bd2;hp=1e7b40c0c44f6f1fe4b1a0d6d89df9e86c653072;hb=77327851f87a17466307e8fccdbf2e0d3c2e58dc;hpb=6a5409bc859187db7d7553e4c19a559aeeba6430 diff --git a/lib/Devel/REPL/Plugin/FancyPrompt.pm b/lib/Devel/REPL/Plugin/FancyPrompt.pm index 1e7b40c..fea7f2a 100644 --- a/lib/Devel/REPL/Plugin/FancyPrompt.pm +++ b/lib/Devel/REPL/Plugin/FancyPrompt.pm @@ -1,7 +1,12 @@ +use strict; +use warnings; package Devel::REPL::Plugin::FancyPrompt; +# ABSTRACT: Facilitate user-defined prompts + +our $VERSION = '1.003030'; use Devel::REPL::Plugin; -use namespace::clean -except => [ 'meta' ]; +use namespace::autoclean; has 'fancy_prompt' => ( is => 'rw', lazy => 1, @@ -57,15 +62,10 @@ before 'read' => sub { __END__ -=head1 NAME - -Devel::REPL::Plugin::FancyPrompt - facilitate user-defined prompts +=pod =head1 SYNOPSIS - #!/usr/bin/perl - - use lib './lib'; use Devel::REPL; my $repl = Devel::REPL->new; @@ -118,4 +118,3 @@ This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut -