0 means the user hit q and non-zero means that 'more' terminated for some other reason
What value do you get if the user allows more to terminate on eof?
In reply to Re^2: How to know whether user terminates system("$cmd|more") with q or not?
by BrowserUk
in thread How to know whether user terminates system("$cmd|more") with q or not?
by PerlOnTheWay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |