# New Ticket Created by  awwa...@thelackthereof.org 
# Please include the string:  [perl #128447]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128447 >



A simple session in the REPL now:

    > # Empty line, or only a comment, outputs "Nil", before was nothing
    Nil
    > Nil # outputs "Nil", before was nothing
    Nil
    > "" # No output, before was a blank line
    > "hello"
    hello
    > 0
    0
    > False
    False

This isn't quite consistent with what the REPL did before the recent changes. I 
think at the very least the empty-string input should print out a newline.

Should whitespace-only/comment input result in "Nil\n"? I think no.

Should Nil input/output result in "Nil\n"? I think YES (which is different than 
before). But it might be difficult to distinguish from empty input -- though we 
could at least special-case literally "\n" input.

I imagine we could also have perl-mode instead of gist-mode, so that the output 
is proper and evaluable perl. Probably an internal setting, or something I do 
in a 3rd party REPL.

(I will do this work myself, but want suggestions)

Reply via email to