| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Pod::Weaver::PluginBundle::Author::LXP; | ||
| 5 | { | ||
| 6 | 1 | $Pod::Weaver::PluginBundle::Author::LXP::VERSION = '1.0.0'; | |
| 7 | } | ||
| 8 | # ABSTRACT: configure Pod::Weaver like LXP | ||
| 9 | |||
| 10 | |||
| 11 | 1 | ▶ | use Pod::Elemental::Transformer::List 0.101610 (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use Pod::Weaver 3.101634 (); # for Legal "license" attribute |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 1 | ▶ | use Pod::Weaver::Plugin::StopWords 1.003 (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 1 | ▶ | use Pod::Weaver::Section::SeeAlso 1.001 (); # for "header" attribute |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 1 | ▶ | use Pod::Weaver::Section::Support 1.001 (); # for repository attributes |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 1 | ▶ | use constant VERSION_FORMAT_STR => |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 'This module is part of distribution %r v%v.%n%n' | ||
| 19 | . "This distribution's version numbering follows the conventions " | ||
| 20 | 1 | . 'defined at L<semver.org|http://semver.org/>.'; | |
| 21 | |||
| 22 | 1 | ▶ | use constant REPOSITORY_CONTENT_STR => |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 'The source code for this distribution is available online in a ' | ||
| 24 | . 'L<Git|http://git-scm.com/> repository. Please feel welcome ' | ||
| 25 | 1 | . "to contribute patches.\n\n"; | |
| 26 | |||
| 27 | 1 | ▶ | use Pod::Weaver::Config::Assembler (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | 0 | ▶ | sub _exp { Pod::Weaver::Config::Assembler->expand_package($_[0]) } |
|
Subroutine
_exp: not called CC=1 SCAR=6.9
| |||
| 29 | |||
| 30 | |||
| 31 | 0 | ▶ | sub mvp_bundle_config { ( |
|
Subroutine
mvp_bundle_config: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 0 | [ '@Author::LXP/CorePrep', _exp('@CorePrep'), {} ], | |
| 34 | [ '@Author::LXP/StopWords', _exp('-StopWords'), {} ], | ||
| 35 | [ | ||
| 36 | '@Author::LXP/List', | ||
| 37 | _exp('-Transformer'), | ||
| 38 | { transformer => 'List' }, | ||
| 39 | ], | ||
| 40 | [ '@Author::LXP/Name', _exp('Name'), {} ], | ||
| 41 | [ | ||
| 42 | '@Author::LXP/Version', | ||
| 43 | _exp('Version'), | ||
| 44 | { format => VERSION_FORMAT_STR }, | ||
| 45 | ], | ||
| 46 | [ 'SYNOPSIS', _exp('Generic'), {} ], | ||
| 47 | [ 'DESCRIPTION', _exp('Generic'), { required => 1 } ], | ||
| 48 | [ '@Author::LXP/Leftovers', _exp('Leftovers'), {} ], | ||
| 49 | [ | ||
| 50 | '@Author::LXP/Attributes', | ||
| 51 | _exp('Collect'), | ||
| 52 | { command => 'attr', header => 'ATTRIBUTES' }, | ||
| 53 | ], | ||
| 54 | [ | ||
| 55 | '@Author::LXP/Methods', | ||
| 56 | _exp('Collect'), | ||
| 57 | { command => 'method', header => 'METHODS' }, | ||
| 58 | ], | ||
| 59 | [ | ||
| 60 | '@Author::LXP/SeeAlso', | ||
| 61 | _exp('SeeAlso'), | ||
| 62 | { header => '', add_main_link => 0 }, | ||
| 63 | ], | ||
| 64 | [ | ||
| 65 | '@Author::LXP/Support', | ||
| 66 | _exp('Support'), | ||
| 67 | { | ||
| 68 | perldoc => 0, | ||
| 69 | websites => 'none', | ||
| 70 | repository_content => REPOSITORY_CONTENT_STR, | ||
| 71 | }, | ||
| 72 | ], | ||
| 73 | [ '@Author::LXP/Authors', _exp('Authors'), {} ], | ||
| 74 | [ | ||
| 75 | '@Author::LXP/Legal', | ||
| 76 | _exp('Legal'), | ||
| 77 | { license_file => 'LICENSE' }, | ||
| 78 | ], | ||
| 79 | |||
| 80 | ) } | ||
| 81 | |||
| 82 | 1 | 1; | |
| 83 | |||
| 84 | __END__ | ||