Introduction
Pod, Plain Old Documentation, is the documentation markup of the
Perl programming language. It can be embedded in
Perl modules and scripts, and it is also kept in files of its own with the extension
.pod. Formatters turn it into manual pages, HTML and other output.
Structure
A Pod block starts with a line beginning = and a letter and runs to a
=cut line or the end of the file. Command paragraphs such as
=head1, =over, =item and =begin
give headings, lists and regions. Paragraphs that start with a space or tab are kept
verbatim. Other paragraphs are ordinary text and may use formatting codes such as
B<...>, I<...> and
L<...>.
Not described
This page is a first outline. The syntax is not yet described in full here.
Known, not yet covered
- Reference: every command and formatting code and the parsing rules, which perlpodspec sets out.
- Viewer: the site has no viewer for this format.
Links
Software
- Perl – includes perldoc and the Pod formatters (Windows, macOS, Linux)
Developers
- Pod::Simple – a Perl framework for parsing Pod
Reference
- perlpodspec – the Pod format specification
- perlpod – how to write Pod