From: Karen Etheridge Date: Sun, 19 May 2013 16:00:42 +0000 (-0700) Subject: see if making the Term::ReadLine attr lazy helps at all... X-Git-Tag: v1.003018~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2df2b90e041133d8704fa19577a0762f1e13ad1d;p=p5sagit%2FDevel-REPL.git see if making the Term::ReadLine attr lazy helps at all... --- diff --git a/Changes b/Changes index 17b8cd7..ca06abe 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for Devel-REPL + - more attempts to fix Term::ReadLine issues in tests (RT#84246, mephinet) + 1.003017 - 2013-04-03 - fix issues with Term::ReadLine:Perl in tests (RT#84246) (thanks, Christopher McCann!) diff --git a/lib/Devel/REPL.pm b/lib/Devel/REPL.pm index c174bbd..3dbf8ff 100644 --- a/lib/Devel/REPL.pm +++ b/lib/Devel/REPL.pm @@ -13,6 +13,7 @@ use Devel::REPL::Error; has 'term' => ( is => 'rw', + lazy => 1, default => sub { Term::ReadLine->new('Perl REPL') } );