Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Saving a Perl session to a file

by marinersk (Priest)
on Apr 14, 2017 at 02:56 UTC ( [id://1187900]=note: print w/replies, xml ) Need Help??


in reply to Saving a Perl session to a file

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1187900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found