Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Unable to reuse STDIN

by BillKSmith (Monsignor)
on Jul 04, 2016 at 04:02 UTC ( [id://1167101]=note: print w/replies, xml ) Need Help??


in reply to Unable to reuse STDIN

I think that you have confused STDIN with the keyboard that it is usually connected to. In your script, STDIN is open to the pipe. The end-of-file does not change that. You probably have to reopen STDIN to the keyboard yourself. I have not been able to do this in windows. I cannot make a reasonable guess for how to do it on any other system.
Bill

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-03-19 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found