May 26, 2018
Select a pager, optionally pipe it output if destination is a TTY
IOPager is lightweight and can be used to locate an available pager and set $ENVPAGER sanely or as a factory for creating objects defined elsewhere such as IOPagerBuffered and IOPagerUnbuffered.
IOPager subclasses are designed to programmatically decide whether or not to pipe a filehandle’s output to a program specified in $ENVPAGER. Subclasses are only required to support filehandle output methods and close, namely