>>>>> On Mon, 26 Feb 2007 21:05:28 +0100,
andreas.koenig.7os6VVqR franz.ak.mind.de (Andreas J. Koenig)
said:
>>>>> On Mon, 26 Feb 2007 12:36:04 +0100,
"Rafael Garcia-Suarez" <rgarciasuarez gmail.com> said:
>> On 26/02/07, Andreas J. Koenig
<andreas.koenig.7os6VVqR franz.ak.mind.de>
wrote:
>>> The following happens since 30396 when I only
hit the UP arrow key.
>>> I've just tried with 30405 and it behaves
likewise.
>> Which ReadLine library do you use ? the core one
doesn't use SelfLoader.
> Oh sorry, it was in the subject line but the
connection between
> readline.pm and Term-ReadLine-Perl is not obvious.
The problem is that the new SelfLoader imposes strictness on
the
autoloaded code and readline.pm is not written with use
strict in mind.
I just tried commenting 'use strict' out and it worked
again.
Alternatively I wrapped the eval in AUTOLOAD in a block:
{
no strict;
eval $SL_code;
}
and this works too.
--
andreas
|