If you just want to page through a file 100 lines at a time: perl -pE"$. % 100 or <STDIN>" yourfile.
The same technique can be used within a script.
In reply to Re: While Loops
by BrowserUk
in thread While Loops
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |