perl-pod
POD extractor for Perl .pm files.
Use this crate when you need structured documentation text for hover cards, module docs, or other editor surfaces without pulling in the full parser or LSP stack.
Where it fits
perl-pod sits at the documentation edge of the workspace. It reads POD blocks
from source text or files and returns a small data model that downstream crates
can render or attach to diagnostics.
Key entry points
PodDoc- extractedNAME,SYNOPSIS,DESCRIPTION, and method docsextract_pod(source)- parse POD from a Perl source stringextract_pod_from_file(path)- read a file and extract its POD
Example
use ;
let doc: PodDoc = extract_pod;
assert_eq!;
Typical use
Use perl-pod when a caller already has Perl source and only needs the
documentation sections. If you need syntax analysis or symbol resolution first,
parse with perl-parser and then layer POD extraction on top.