forked from fangly/io-pager
-
Notifications
You must be signed in to change notification settings - Fork 0
IO::Pager - Select a pager and pipe text to it if destination is a TTY
shadow-dot-cat/IO-Pager
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
IO::Pager & IO::Pager::Perl ===================== IO::Pager - Select a pager and pipe text to it if destination is a TTY IO::Pager::Perl - A pure perl pager engine IO::Pager::Perl is used in the IO::Pager::less IO::Pager subclass, but is also a free-standing library ready to be incorporated into other code. IO::Pager is lightweight and can be used to locate an available pager and set the PAGER environment variable sanely or as a factory for creating objects defined elsewhere such as IO::Pager::Buffered, IO::Pager::Unbuffered, and IO::Pager::less which provides a pure perl pager. IO::Pager subclasses are designed to programmatically decide whether or not to pipe a filehandle's output to a program specified in PAGER. Subclasses may inherit from IO::Pager, and implement the IO handle methods desired. INSTALLATION To install this module type the following: perl Makefile.PL make # Run non-interactive tests make test # Run interactive tests perl -Mblib test.pl interactive make install DEPENDENCIES Multiple core modules are used: base, Env, File::Spec, File::Which, IO::Handle, PerlIO, SelectSaver, Symbol, Text::Wrap, Tie::Handle Test::More is used during the installation procedure. PORTABILITY IO::Pager 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-2019 Jerrad Pierce * 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. Or, if you prefer: This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.0 or, at your option, any later version of Perl 5 you may have available.
About
IO::Pager - Select a pager and pipe text to it if destination is a TTY
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Perl 100.0%