POD::TEXT::OVERSTRIKE(3pm)
π NAME π
okay so welcome to Pod::Text::Overstrike(3pm), bestie β this little icon lives in the Perl Programmers Reference Guide and its whole job is literally: Convert POD data to formatted overstrike text. no cap.
β¨ SYNOPSIS β¨
here's the vibe in code, exactly as it comes:
use Pod::Text::Overstrike;
my $parser = Pod::Text::Overstrike->new (sentence => 0, width => 78);
# Read POD from STDIN and write to STDOUT.
$parser->parse_from_filehandle;
# Read POD from file.pod and write to file.txt.
$parser->parse_from_file ('file.pod', 'file.txt');
πΈ DESCRIPTION πΈ
Pod::Text::Overstrike is a simple subclass of Pod::Text that highlights output text using overstrike sequences, in a manner similar to nroff. β¨
Characters in bold text are overstruck as character, backspace, character, and characters in underlined text are converted to overstruck underscores as underscore, backspace, character. This format was originally designed for hard-copy terminals and/or line printers, yet is readable on soft-copy (CRT) terminals. π
Overstruck text is best viewed by page-at-a-time programs that take advantage of the terminal's stand-out and underline capabilities, such as the less program on Unix. π«Ά
Apart from the overstrike, it in all ways functions like Pod::Text. See Pod::Text for details and available options.
π BUGS π
Currently, the outermost formatting instruction wins, so for example underlined text inside a region of bold text is displayed as simply bold. There may be some better approach possible. π
π¦ COMPATIBILITY π¦
Pod::Text::Overstrike 1.01 (based on Pod::Parser) was the first version of this module included with Perl, in Perl 5.6.1. π
The current API based on Pod::Simple was added in Pod::Text::Overstrike 2.00, included in Perl 5.9.3.
Several problems with wrapping and line length were fixed as recently as Pod::Text::Overstrike 6.0.0.
This module inherits its API and most behavior from Pod::Text, so the details in COMPATIBILITY in Pod::Text also apply. Pod::Text and Pod::Text::Overstrike have had the same module version since 4.00, included in Perl 5.23.7. (They unfortunately diverge in confusing ways prior to that.) π
π CAVEATS π
Line wrapping is done only at ASCII spaces and tabs, rather than using a correct Unicode-aware line wrapping algorithm. β
π AUTHOR π
Originally written by Joe Smith Joe.Smith@inwap.com, using the framework created by Russ Allbery rra@cpan.org. Subsequently updated by Russ Allbery. π
π COPYRIGHT AND LICENSE π
Copyright 2000 Joe Smith Joe.Smith@inwap.com
Copyright 2001, 2004, 2008, 2014, 2018-2019, 2022, 2024 Russ Allbery rra@cpan.org
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. π
π SEE ALSO π
Pod::TextPod::Simple
The current version of this module is always available from its web site at https://www.eyrie.org/~eagle/software/podlators/. It is also part of the Perl core distribution as of 5.6.0. π¦
π that's the whole page, bestie. sign-off from the Pod::Text::Overstrike(3pm) manual: generated as part of perl v5.42.3, dated 2026-11-03. periodt. π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms