1Pod::Weaver::Section::GUesneerriCco(n3t)ributed Perl DocPuomde:n:tWaetaivoenr::Section::Generic(3)
2
3
4
6 Pod::Weaver::Section::Generic - a generic section, found by lifting
7 sections
8
10 version 4.015
11
13 This section will find and include a located hunk of Pod. In general,
14 it will find a "=head1" command with a content of the plugin's name.
15
16 In other words, if your configuration include:
17
18 [Generic]
19 header = OVERVIEW
20
21 ...then this weaver will look for "=head1 OVERVIEW" and include it at
22 the appropriate location in your output.
23
24 Since you'll probably want to use Generic several times, and that will
25 require giving each use a unique name, you can omit "header" if you
26 provide a plugin name, and it will default to the plugin name. In
27 other words, the configuration above could be specified just as:
28
29 [Generic / OVERVIEW]
30
31 If the "required" attribute is given, and true, then an exception will
32 be raised if this section can't be found.
33
35 required
36 A boolean value specifying whether this section is required to be
37 present or not. Defaults to false.
38
39 If it's enabled and the section can't be found an exception will be
40 raised.
41
42 header
43 The name of this section. Defaults to the plugin name.
44
46 Ricardo SIGNES <rjbs@cpan.org>
47
49 This software is copyright (c) 2016 by Ricardo SIGNES.
50
51 This is free software; you can redistribute it and/or modify it under
52 the same terms as the Perl 5 programming language system itself.
53
54
55
56perl v5.28.0 2016-10-15 Pod::Weaver::Section::Generic(3)