This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



IO::Pager::Page(3)                   User Contributed Perl Documentation                  IO::Pager::Page(3)



NAME
       IO::Pager::Page - use IO::Pager to emulate 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::Pager 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
         BEGIN{
           use IO::Pager::Page;
           #use I::P::P first, just in case another module sends output to STDOUT
         }
         print<<HEREDOC;
         ...
         A bunch of text later
         HEREDOC

       If you wish to forgo the potential for a Broken Pipe foible resulting from the user exiting the pager
       prematurely load IO::Pager::Page like so:

         use IO::Pager::Page hush=>1;

SEE ALSO
       IO::Page, IO::Pager, IO::Pager::Unbuffered, IO::Pager::Buffered

AUTHOR
       Jerrad Pierce <[email protected]>

LICENSE
          Thou shalt not claim ownership of unmodified materials.

          Thou shalt not claim whole ownership of modified materials.

          Thou shalt grant the indemnity of the provider of materials.

          Thou shalt use and dispense freely without other restrictions.



perl v5.8.9                                      2004-11-17                               IO::Pager::Page(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the Perl project. (See perlbug(1) for submission instructions.)
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the Perl project using perlbug(1).
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.