IO::Pager - Select a pager, optionally pipe it output if destination is a TTY
IO::Pager is lightweight and can be used to locate an available pager and set $ENV{PAGER} sanely or as a factory for creating objects defined elsewhere such as IO::Pager::Buffered and IO::Pager::Unbuffered.
IO::Pager subclasses are designed to programmatically decide whether or not to pipe a filehandle's output to a program specified in $ENV{PAGER}. Subclasses are only required to support filehandle output methods and close, namely
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
perl -Mblib t.pl #Helas the real tests don't work well under Test::*
make install
DEPENDENCIES
File::Spec this is a core module.
File::Which is not required bu strongly recommended.
PORTABLE
This is intended to be as portable as possible, I've tested it on numerous platform and perl version combinations. Most work fine though you may run into quirks, it tends to be happiest under perl built with perlio not stdio.
COPYRIGHT AND LICENSE
Copyright (C) 2003 Jerrad Pierce