Changes for version 0.003 - 2026-11-25
- Leave the files for development, such as dist.ini and CLAUDE.md, out of the tarball
- Declare aspell and its English dictionary as system packages in META.json, so that a host that installs them checks the spelling of the POD
- Stop dying with "Can't call method name on an undefined value" on a ternary with an empty list as a branch, such as $x ? lc $x : ()
- Stop the warnings "Missing argument in sprintf" and "Invalid conversion in sprintf" for POD whose prose has a % in it
- [Blurbs] writes the POD of an override whose parent class is installed and has only a comment above the sub, rather than taking that comment for a blurb
- The termination check counts log_fatal, as Dist::Zilla plugins call it, and the logdie, logcroak and logconfess of Log::Log4perl, as ways to die
- [Blurbs] puts "Dies" before a @throws that names an exception class, such as "with a Some::Exception when ...", so the sentence has a verb
- Weave the blurbs of a script whose package has no module file of its own
- Accept any name in the POD for a placeholder parameter of a signature, at its position
- Document the elements of a slurpy array or hash in a blurb as @param @paths Str, and in POD as =item @paths - Str
- Accept a documented return type that parameterizes the type that the code returns, as ArrayRef[HashRef] for an ArrayRef
- Do not report a sub whose POD says it returns nothing for returning the value of a call
- On perl 5.36 to 5.42, report the empty list of a ternary, such as $x ? lc $x : (), as an empty return and not an unknown value
Modules
Add an author test that the POD of each module says what each sub takes, returns, and how it fails
Make sure your POD covers more ground than just subroutines
Infer arguments, return values and termination of subs from their compiled op trees
Op tree analysis for perl 5.36
Op tree analysis for perl 5.38 to 5.42
Op tree analysis for perl 5.44 and later
Read the comment above each sub, which says what POD cannot be inferred from its code
What class builders and signature modules declare about the subs of a package
Declarations of the attributes of Class::Tiny classes
Declarations of the signatures of Function::Parameters
Declarations of the signatures of Kavorka
Declarations of the attributes of Moose, Mouse and Moo classes
Declarations of the classes of Object::Pad
Declarations of the signatures of Type::Params
What the POD of a module says about each of its subs
Write the POD of each sub from its blurb and the analysis of its code
The Type::Tiny constraints that the evidence of an analysis amounts to
Weave the POD of each sub that has a blurb, from its blurb and its code
Test that the POD of a module says what each sub takes, returns, and how it fails