Monte Mitzelfelt > io-page-0.02 > IO::Page

Download:
io-page-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.02   Source  

NAME ^

  IO::Page - Pipe STDOUT to a pager if STDOUT is a TTY

SYNOPSIS ^

Pipes STDOUT to a pager if STDOUT is a TTY

DESCRIPTION ^

IO::Page is designed to programmaticly decide whether or not to point the STDOUT file handle into a pipe to program specified in $ENV{PAGER} or one of a standard list of pagers.

USAGE ^

  use IO::Page ;
  print <<"  HEREDOC" ;
  ...
  A bunch of text later
  HEREDOC

AUTHOR ^

  Monte Mitzelfelt <monte-iopage@gonefishing.org>