| 1 | package Pod::Weaver::PluginBundle::Author::IOANR 1.230480; | ||
| 2 | |||
| 3 | # ABSTRACT: Weave the POD for a IOANR dist | ||
| 4 | |||
| 5 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use Pod::Weaver::Config::Assembler; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | require Pod::Weaver::Section::Support; | |
| 8 | 1 | require Pod::Elemental::Transformer::List; | |
| 9 | 1 | require Pod::Weaver::Plugin::StopWords; | |
| 10 | |||
| 11 | 1 | my $bugs_content = <<'END'; | |
| 12 | Please report any bugs or feature requests through the web interface at {WEB}. | ||
| 13 | You will be automatically notified of any progress on the request by the system. | ||
| 14 | END | ||
| 15 | |||
| 16 | 1 | my $repository_content = <<'END'; | |
| 17 | The source code is available for from the following locations: | ||
| 18 | END | ||
| 19 | |||
| 20 | 0 | ▶ | sub _exp { Pod::Weaver::Config::Assembler->expand_package($_[0]) } |
|
Subroutine
_exp: not called CC=1 SCAR=6.9
| |||
| 21 | |||
| 22 | 0 | ▶ | sub mvp_bundle_config { |
|
Subroutine
mvp_bundle_config: not called CC=2 SCAR=17.9
Pod
undocumented
| |||
| 23 | 0 | my @plugins; | |
| 24 | 0 | push @plugins, ( | |
| 25 | ['@Author::IOANR/CorePrep', _exp('@CorePrep'), {}], | ||
| 26 | ['@Author::IOANR/SingleEncoding', _exp('-SingleEncoding'), {}], | ||
| 27 | [ | ||
| 28 | '@Author::IOANR/List', _exp('-Transformer'), | ||
| 29 | {'transformer' => 'List'} | ||
| 30 | ], | ||
| 31 | ['@Author::IOANR/StopWords', _exp('-StopWords'), {}], | ||
| 32 | |||
| 33 | ['@Author::IOANR/Name', _exp('Name'), {}], | ||
| 34 | ['@Author::IOANR/Version', _exp('Version'), {}], | ||
| 35 | |||
| 36 | ['@Author::IOANR/Prelude', _exp('Region'), {region_name => 'prelude'}], | ||
| 37 | |||
| 38 | ['@Author::IOANR/Synopsis', _exp('Generic'), {header => 'SYNOPSIS'}], | ||
| 39 | [ | ||
| 40 | '@Author::IOANR/Description', _exp('Generic'), | ||
| 41 | {header => 'DESCRIPTION'} | ||
| 42 | ], | ||
| 43 | ['@Author::IOANR/Overview', _exp('Generic'), {header => 'OVERVIEW'}], | ||
| 44 | ['@Author::IOANR/Usage', _exp('Generic'), {header => 'USAGE'}], | ||
| 45 | ); | ||
| 46 | |||
| 47 | 0 | for my $plugin ( | |
| 48 | ['Attributes', _exp('Collect'), {command => 'attr'}], | ||
| 49 | ['Methods', _exp('Collect'), {command => 'method'}], | ||
| 50 | ['Functions', _exp('Collect'), {command => 'func'}], | ||
| 51 | ) | ||
| 52 | { | ||
| 53 | 0 | $plugin->[2]{header} = uc $plugin->[0]; | |
| 54 | 0 | push @plugins, $plugin; | |
| 55 | } | ||
| 56 | |||
| 57 | 0 | push @plugins, | |
| 58 | ( | ||
| 59 | ['@Author::IOANR/Leftovers', _exp('Leftovers'), {}], | ||
| 60 | [ | ||
| 61 | '@Author::IOANR/postlude', _exp('Region'), | ||
| 62 | {region_name => 'postlude'} | ||
| 63 | ], | ||
| 64 | [ | ||
| 65 | '@Author::IOANR/Support', | ||
| 66 | _exp('Support'), | ||
| 67 | { | ||
| 68 | bugs => 'metadata', | ||
| 69 | bugs_content => $bugs_content, | ||
| 70 | repository_content => $repository_content, | ||
| 71 | websites => 'metacpan', | ||
| 72 | } | ||
| 73 | ], | ||
| 74 | ['@Author::IOANR/Authors', _exp('Authors'), {}], | ||
| 75 | ['@Author::IOANR/Legal', _exp('Legal'), {}], | ||
| 76 | ); | ||
| 77 | |||
| 78 | 0 | return @plugins; | |
| 79 | } | ||
| 80 | |||
| 81 | 1 | 1; | |
| 82 | |||
| 83 | __END__ | ||