From d8a90a03e9c5e8e2732374a10e0e79289ffb793c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 30 May 2013 04:41:11 -0500 Subject: App::REPL -> Reply --- lib/App/REPL/Plugin/FancyPrompt.pm | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 lib/App/REPL/Plugin/FancyPrompt.pm (limited to 'lib/App/REPL/Plugin/FancyPrompt.pm') diff --git a/lib/App/REPL/Plugin/FancyPrompt.pm b/lib/App/REPL/Plugin/FancyPrompt.pm deleted file mode 100644 index 90e8627..0000000 --- a/lib/App/REPL/Plugin/FancyPrompt.pm +++ /dev/null @@ -1,20 +0,0 @@ -package App::REPL::Plugin::FancyPrompt; -use strict; -use warnings; - -use base 'App::REPL::Plugin'; - -sub new { - my $class = shift; - my $self = $class->SUPER::new(@_); - $self->{counter} = 0; - return $self; -} - -sub prompt { - my $self = shift; - my ($next) = @_; - return $self->{counter}++ . $next->(); -} - -1; -- cgit v1.2.3-54-g00ecf