Ilya Zakharevich via RT wrote:
Show quoted text> Do you mean the case when T::R::P is disabled? Otherwise 'exit' is
> the "default" value, so just pressing Enter will do it...
Apologies for the short diagnostic message. At least during testing
with T::R::P 1.0302 for Win32 Vanilla Perl 5.8.8, just pressing Enter
didn't do it. (Could this be an issue with newlines?)
Here's an example of the output (the third example is just hitting "Enter"):
Show quoted text> [C:\Temp\cpan\build\Term-ReadLine-Perl-1.0302]
>> dmake test
> C:\vanilla-perl\perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl
> Features present: preput 1 getHistory 1 addHistory 1 attribs 1 ornaments 1 appname 1 minli
> ne 1 autohistory 1 newTTY 1 tkRunning 1 setHistory 1
> Flipping rl_default_selected each line.
> Enter arithmetic or Perl expression: 1
> 1
> Enter arithmetic or Perl expression: 1+1
> 2
> Enter arithmetic or Perl expression:
> Use of uninitialized value in print at test.pl line 45, <IN> line 3.
> at test.pl line 45
>
> Enter arithmetic or Perl expression: exit
>
>
> [C:\Temp\cpan\build\Term-ReadLine-Perl-1.0302]
Regards,
David