Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Sleep until keypress

by jeepj (Scribe)
on Apr 23, 2008 at 14:19 UTC ( [id://682383]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Sleep until keypress
in thread Sleep until keypress

If vendion has some more 'advanced' requirements, ReadKey is certainly the way to go, but based on his question, it was not obvious at first sight. The idea behind my reply was that, sometime, installing and using CPAN modules like ReadKey just to pause a script until the user is ready to proceed to the rest of the script, is useless. Sometime the simplest solution is the best.

Replies are listed 'Best First'.
Re^4: Sleep until keypress
by vendion (Scribe) on Apr 26, 2008 at 00:20 UTC
    That would work if I am writing it on Windows, but I am using Linux and a simple pause does not work. I ended up using ReadKey and it works exactly how I wanted it, again thanks for the help.

Log In?
Username:
Password:

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

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

    No recent polls found