Revision history for Podlite
3.00 2026-11-28
- follows the Podlite specification 3.0
- the bodies of =fixture, =assert and =resource in test blocks are
not markup of the document: =data inside them does not go to *DATA,
and broken markup inside them does not stop compilation
- =test stays a container: =data in it outside those bodies is
collected
- =test, =fixture, =assert and =resource are recognized when indented
- a closing =end fixture, =end assert or =end resource must stand on
the margin of its block; 2.00 closed it by name at any margin
- after an indented line inside a block, an indented directive is
recognized: =data there is collected, and a misplaced =end stops
compilation; 2.00 skipped such lines
- continuation lines of a =begin data line are configuration and no
longer part of the data
- a Perl statement continued by a line such as " =test + 1" loses
that line to Podlite, as with other standard block names
- LIMITATIONS: a package statement with a comment before the name is
found when it is current at the use Podlite line, and not found when
it comes later in the filtered code
- documentation brought to specification 3.0, links to its
versioned page and source
2.00 2026-11-21
- follows the Podlite specification 2.0
- a line scanner with its own input reader replaces Filter::Simple;
the module needs Perl 5.10.1 and only core modules
- broken markup stops compilation with an error naming the file and
line: an unclosed =begin, a stray or mismatched =end, a =begin, =for
or =end line with no valid block name, or with a name followed by
neither whitespace nor the end of the line
- a block name must be followed by whitespace or the end of the line;
=head1(x) or =Foo::Bar->new stays Perl
- block names follow the identifier rules of the specification
- indented directives are recognized for words the specification
defines; an indented user-defined abbreviated block stays Perl
- code after =set, =alias, =include and =boundary lines runs; 1.00
dropped it
- =data-table rows and =data inside code examples no longer go to
*DATA; names that only begin with data are not =data
- the last =data block keeps its trailing bytes; wide characters read
back through an encoding layer
- =begin/=end pairs inside verbatim blocks and Markdown fences are not
markup; markers inside code examples do not end the program
- a module that uses Podlite no longer replaces the program's
main::DATA; data reaches the importing package and the packages
declared in the filtered code
- a repeated use Podlite keeps data and read position
- __DATA__ followed by a comment is a marker
- the notification attribute is spelled :notice in the documentation
- documentation brought to specification 2.0, links to its
versioned page
1.00 2025-11-09
- initial release
- source filter for Podlite markup language in Perl programs
- strips Podlite markup during compilation
- preserves line numbers for accurate error reporting
- support for embedded data via *DATA filehandle
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)