http://www.perlmonks.org?node_id=1057114


in reply to Devel::REPL re.pl re.bat win32 output trimmed / chopped / drivename stripped

Nothing is getting eaten. Pay closer attention. Look at just the two output lines:

$ /yummy/fudge C:/yummy/fudge

"C:" wasn't removed. It was overwritten by '$ '. So you had a "\r" but no "\n" between the output and the next '$ ' prompt. My guess is that the prompt is "\r$ " and one form of output has no newline on the end.

- tye