1IO::Pager::Page(3)    User Contributed Perl Documentation   IO::Pager::Page(3)
2
3
4

NAME

6       IO::Pager::Page - Emulate IO::Page, pipe STDOUT to a pager if STDOUT is
7       a TTY
8

SYNOPSIS

10       Pipes STDOUT to a pager if STDOUT is a TTY
11

DESCRIPTION

13       IO::Pager was designed to programmatically decide whether or not to
14       point the STDOUT file handle into a pipe to program specified in the
15       PAGER environment variable or one of a standard list of pagers.
16

USAGE

18         BEGIN {
19           use IO::Pager::Page;
20           # use I::P::P first, just in case another module sends output to STDOUT
21         }
22         print<<HEREDOC;
23         ...
24         A bunch of text later
25         HEREDOC
26
27       If you wish to forgo the potential for a Broken Pipe foible resulting
28       from the user exiting the pager prematurely, load IO::Pager::Page like
29       so:
30
31         use IO::Pager::Page hush=>1;
32

SEE ALSO

34       IO::Page, IO::Pager, IO::Pager::Unbuffered, IO::Pager::Buffered
35

AUTHOR

37       Jerrad Pierce <jpierce@cpan.org>
38
39       Florent Angly <florent.angly@gmail.com>
40
41       This module inspired by Monte Mitzelfelt's IO::Page 0.02
42
44       Copyright (C) 2003-2015 Jerrad Pierce
45
46       ·   Thou shalt not claim ownership of unmodified materials.
47
48       ·   Thou shalt not claim whole ownership of modified materials.
49
50       ·   Thou shalt grant the indemnity of the provider of materials.
51
52       ·   Thou shalt use and dispense freely without other restrictions.
53
54       Or, if you prefer:
55
56       This library is free software; you can redistribute it and/or modify it
57       under the same terms as Perl itself, either Perl version 5.0 or, at
58       your option, any later version of Perl 5 you may have available.
59
60
61
62perl v5.32.0                      2020-07-28                IO::Pager::Page(3)
Impressum