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=557b274c81c2a6429a3754a0a0062f3800355ebe;hb=master;hpb=b21e755170420636ffad424d0634bc68e38956df diff --git a/lib/Devel/REPL/Plugin/FancyPrompt.pm b/lib/Devel/REPL/Plugin/FancyPrompt.pm index 557b274..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 -use Moose::Role; -use namespace::clean -except => [ 'meta' ]; +our $VERSION = '1.003030'; + +use Devel::REPL::Plugin; +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 -