Scroll to navigation

Pod::Weaver::Section::Name(3pm) User Contributed Perl Documentation Pod::Weaver::Section::Name(3pm)

NAME

Pod::Weaver::Section::Name - add a NAME section with abstract (for your Perl module)

VERSION

version 4.018

OVERVIEW

This section plugin will produce a hunk of Pod giving the name of the document as well as an abstract, like this:

  =head1 NAME
  Some::Document - a document for some

It will determine the name and abstract by inspecting the "ppi_document" which must be given. It looks for comments in the form:

  # ABSTRACT: a document for some
  # PODNAME: Some::Package::Name

If no "PODNAME" comment is present, but a package declaration can be found, the package name will be used as the document name.

PERL VERSION SUPPORT

This module has the same support period as perl itself: it supports the two most recent versions of perl. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

ATTRIBUTES

The title of the header to be added. (default: "NAME")

AUTHOR

Ricardo SIGNES <rjbs@semiotic.systems>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2021-08-17 perl v5.32.1