Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Waiting For Input

by Corion (Pope)
on Mar 04, 2013 at 09:18 UTC ( #1021614=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Waiting For Input
in thread Waiting For Input

Why did you write that loop in the first place?

On Windows, you end input to STDIN by entering CTRL+Z on an empty line and pressing enter.


Comment on Re^5: Waiting For Input
Download Code
Re^6: Waiting For Input
by Anonymous Monk on Mar 04, 2013 at 09:28 UTC

    This is used such that when user presses ENTER the script stops and resume only when ENTER is pressed again

      Maybe you want the user to enter something else to quit the program?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-09-19 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls