> > Quite a simple request, but I've had trouble finding an answer.
> >
> > I'd like my program to wait until the user presses any key, and then
> > just continue. Is there an easy way to do this? A way without
> > modules?
>
> Hi Nick.
>
> This will do the trick:
>
> while (1) {
> print "Press any key to continue... ";
> getc;
> print "LOOP\n";
> }
>
Can also wait for STDIN:
print "press a key: ";
until (<STDIN>) { last }
# continue
print "what else...\n";
-----
you can also put the input in a variable and do stuff with it
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]