I thought that there surely must be a command-line switch to tell "more" (or "less") not to buffer the first page,
It's not more that's buffering, it's your script writing to it — non-interactive output (the pipe here) is block-buffered by default. Try adding
use IO::Handle; ... MORE->autoflush(); ...
Also, a quick CPAN search found IO::Page and IO::Pager.
In reply to Re: Simple Way to Paginate Output?
by almut
in thread Simple Way to Paginate Output?
by bobdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |