Just another Perl shrine | |
PerlMonks |
Re: Saving a Perl session to a fileby marinersk (Priest) |
on Apr 14, 2017 at 02:56 UTC ( [id://1187900]=note: print w/replies, xml ) | Need Help?? |
I presume you're trying to use the pipe/redirected output technique, a la foo > t.t 2>&1. Windows doesn't work that way on the standard pipe interface; console response is typed not to STDOUTor STDERR, but rather via old-fashioned console output. If you want the user's response echoed to the log file, you're going to have to print the answer with a newline yourself, and it will look odd when not so redirected.
In Section
Seekers of Perl Wisdom
|
|