Pod/Weaver/PluginBundle/MMCCLIMON.pm untested

filter: Statementstmt 0.0% 0 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 47 CC 1 SCAR 6.9
CC
1
Cov
0%
_exp
2.0
mvp_bundle_config
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 use warnings;
3 package Pod::Weaver::PluginBundle::MMCCLIMON;
4 # ABSTRACT: MMCCLIMON's default Pod::Weaver config
5 $Pod::Weaver::PluginBundle::MMCCLIMON::VERSION = '5.013';
6 #pod =head1 OVERVIEW
7 #pod
8 #pod Blatantly stolen from RJBS. I<Roughly> equivalent to:
9 #pod
10 #pod =for :list
11 #pod * C<@Default>
12 #pod * C<-Transformer> with L<Pod::Elemental::Transformer::List>
13 #pod
14 #pod =cut
15  
16 use Pod::Weaver::Config::Assembler;
17 sub _exp { Pod::Weaver::Config::Assembler->expand_package($_[0]) }
18  
19 sub mvp_bundle_config {
20 my @plugins;
21 push @plugins, (
22 [ '@MMCCLIMON/CorePrep', _exp('@CorePrep'), {} ],
23 [ '@MMCCLIMON/SingleEncoding', _exp('-SingleEncoding'), {} ],
24 [ '@MMCCLIMON/Name', _exp('Name'), {} ],
25 [ '@MMCCLIMON/Version', _exp('Version'), {} ],
26  
27 [ '@MMCCLIMON/Prelude', _exp('Region'), { region_name => 'prelude' } ],
28 [ '@MMCCLIMON/Synopsis', _exp('Generic'), { header => 'SYNOPSIS' } ],
29 [ '@MMCCLIMON/Description', _exp('Generic'), { header => 'DESCRIPTION' } ],
30 [ '@MMCCLIMON/Overview', _exp('Generic'), { header => 'OVERVIEW' } ],
31  
32 [ '@MMCCLIMON/Stability', _exp('Generic'), { header => 'STABILITY' } ],
33 );
34  
35 for my $plugin (
36 [ 'Attributes', _exp('Collect'), { command => 'attr' } ],
37 [ 'Methods', _exp('Collect'), { command => 'method' } ],
38 [ 'Functions', _exp('Collect'), { command => 'func' } ],
39 ) {
40 $plugin->[2]{header} = uc $plugin->[0];
41 push @plugins, $plugin;
42 }
43  
44 push @plugins, (
45 [ '@MMCCLIMON/Leftovers', _exp('Leftovers'), {} ],
46 [ '@MMCCLIMON/postlude', _exp('Region'), { region_name => 'postlude' } ],
47 [ '@MMCCLIMON/Authors', _exp('Authors'), {} ],
48 [ '@MMCCLIMON/Contributors', _exp('Contributors'), {} ],
49 [ '@MMCCLIMON/Legal', _exp('Legal'), {} ],
50 [ '@MMCCLIMON/List', _exp('-Transformer'), { 'transformer' => 'List' } ],
51 );
52  
53 return @plugins;
54 }
55  
56 1;
57  
58 __END__