parrotcode: Docs-Related File | |
Contents | Perl Modules |
Parrot::Docs::File - Docs-Related File
use Parrot::Docs::File; my $file = Parrot::Docs::File->new('MANIFEST');
This Parrot::IO::File
subclass adds a few documentation-related methods to do with POD and file type.
It's used by the documentation tools in tools/docs.
type_for_suffix($suffix)
type_for_name($name)
type()
is_of_type($type)
check_pod()
Pod::Simple::Checker
on the contents of the file. Executable files, and *.dump files are assumed not to contain POD and therefore not checked.Note that the results are cached and the POD will only be rechecked if the file has been modified since it was checked.
contains_pod()
num_pod_errors()
pod_errors($options)
pod_as_html()
Parrot::Docs::POD2HTML
on the contents of the file. Executable files are assumed not to contain POD and therefore not formatted.
is_docs_link()
title()
short_description()
NAME
section of the POD documentation, if it exists. If an ABSTRACT
is found then that is preferred.
|