Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Do you know where your variables are?
 
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 contemplating the Monastery: (10)
As of 2014-04-24 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls