| 1 | # vim: set ts=2 sts=2 sw=2 expandtab smarttab: | ||
| 2 | # | ||
| 3 | # This file is part of Dist-Zilla-Stash-PodWeaver | ||
| 4 | # | ||
| 5 | # This software is copyright (c) 2010 by Randy Stauner. | ||
| 6 | # | ||
| 7 | # This is free software; you can redistribute it and/or modify it under | ||
| 8 | # the same terms as the Perl 5 programming language system itself. | ||
| 9 | # | ||
| 10 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | package Dist::Zilla::Stash::PodWeaver; | ||
| 14 | { | ||
| 15 | 2 | $Dist::Zilla::Stash::PodWeaver::VERSION = '1.005'; | |
| 16 | } | ||
| 17 | # git description: v1.004-1-gfd36825 | ||
| 18 | |||
| 19 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 2 | $Dist::Zilla::Stash::PodWeaver::AUTHORITY = 'cpan:RWSTAUNER'; | |
| 21 | } | ||
| 22 | # ABSTRACT: A stash of config options for Pod::Weaver | ||
| 23 | |||
| 24 | 2 | ▶ | use Pod::Weaver::Config::Assembler (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | |||
| 27 | # bug fix for attribute order | ||
| 28 | 2 | with 'Dist::Zilla::Role::Stash::Plugins' => { -version => 1.006 }; | |
| 29 | |||
| 30 | |||
| 31 | 26 | ▶ | sub expand_package { |
|
Subroutine
expand_package: called CC=1 SCAR=0.0
Pod
documented
| |||
| 32 | 26 | my ( $self, $pack ) = @_; | |
| 33 | # Cannot start an ini line with '=' | ||
| 34 | 26 | $pack =~ s/^\+/=/; | |
| 35 | 26 | Pod::Weaver::Config::Assembler->expand_package($pack); | |
| 36 | } | ||
| 37 | |||
| 38 | 2 | 1; | |
| 39 | |||
| 40 | __END__ | ||