Subject: | rt.cpan.org #49678 |
Date: | Mon, 4 Jan 2010 20:20:59 +0000 |
To: | bug-Padre-Plugin-REPL [...] rt.cpan.org |
From: | Colm O Mahony <mahony357 [...] gmail.com> |
Thanks. Must be a windows thing. The return value of the expression is not
printed. This is what I am getting.
With Devel::REPL using cmd.exe
$ print 5;
$ 5
$ print (print 5);
$ 51
With Devel::REPL using winbash
bash$ re
$ print 5;
$ 5
$ print (print 5);
$ 51
Glad to know it is not a bug.
Ryan Niebur via RT wrote:
<URL: https://rt.cpan.org/Ticket/Display.html?id=49678 >
On Sun Sep 13 21:21:54 2009, omahony wrote:
perl v5.10.0 built for MSWin32-x86-multi-thread
Padre 0.46, wxWidgets 2.8.10 unicode=(1)
Windows XP
The numeral '1' is added to the result in the output pane of Padre.
that's because print returned 1.
e.g 'Print 5;' will produce '51'. This does not happen when using the
REPL module outside of Padre.
it does for me.