[Bps-public-commit] r15186 - in Prophet/trunk: .
jesse at bestpractical.com
jesse at bestpractical.com
Fri Aug 15 09:57:27 EDT 2008
Author: jesse
Date: Fri Aug 15 09:57:26 2008
New Revision: 15186
Modified:
Prophet/trunk/Makefile.PL
Prophet/trunk/lib/Prophet/CLI/Command/Shell.pm
Log:
* fixing Term::Readline such that it works on a vanilla system
Modified: Prophet/trunk/Makefile.PL
==============================================================================
--- Prophet/trunk/Makefile.PL (original)
+++ Prophet/trunk/Makefile.PL Fri Aug 15 09:57:26 2008
@@ -23,8 +23,12 @@
requires('MooseX::AttributeHelpers' => '0.12');
requires('MooseX::ClassAttribute' => '0.04');
requires('XML::Atom::SimpleFeed');
-
-features(
+use Term::ReadLine; # if we don't do this, ::Perl fails
+features(
+ 'Improved interactive shell' => [
+ -default => 1,
+ 'Term::ReadLine::Perl'
+ ],
'Web server' => [
-default => 1,
'HTTP::Server::Simple', # HTTP::Server::Simple::CGI
Modified: Prophet/trunk/lib/Prophet/CLI/Command/Shell.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Command/Shell.pm (original)
+++ Prophet/trunk/lib/Prophet/CLI/Command/Shell.pm Fri Aug 15 09:57:26 2008
@@ -12,7 +12,7 @@
has term => (
is => 'ro',
- isa => 'Term::ReadLine',
+ isa => 'Term::ReadLine::Stub',
lazy => 1,
handles => [qw/readline addhistory/],
default => sub {
More information about the Bps-public-commit
mailing list