I guess it all depends on whether you want
the Devel::REPL shell to match a perl program
or not (e.g., if you wish to cut and paste from
a file into the command line).
However, you can just set $|=1 and get the
behavior desired. Maybe using say would
work as well.
--Chris
On Mon, Jul 23, 2012 at 1:52 PM, Paul Evans via RT
<bug-Devel-REPL@rt.cpan.org> wrote:
Show quoted text> Queue: Devel-REPL
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=78542 >
>
> On Mon Jul 23 13:43:47 2012, devel.chm.01@gmail.com wrote:
>> How does this differ from the behavior
>> of perl running the same from a file?
>
> Oh it's not really that different. It's just I feel that as Devel::REPL
> knows the expression is nominally "done" by the time it returns and
> before the next prompt is printed, it should flush STDOUT anyway before
> the next prompt is printed.
>
> --
>
> Paul Evans