For the purpose of debugging, or to pause a long report so it can be read in fragments? If you want to pause for debugging use Perl's built in debugger (see perldebug). If on the other hand you wish a pause for UI purposes the following may help:
print "Read this then press enter"; <>; print "Thanks for that.\n";
In reply to Re: Is there a way to halt the program until an enter is pressed?
by GrandFather
in thread Is there a way to halt the program until an enter is pressed?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |