Dist-Zilla-Plugin-MungeFile-WithConfigFile
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/MungeFile/WithConfigFile.pm view on Meta::CPAN
use Path::Tiny;
use namespace::autoclean;
has configfile => (
is => 'ro', isa => 'Str',
required => 1,
);
has _config_data => (
is => 'ro', isa => 'HashRef',
lazy => 1,
default => sub {
my $self = shift;
$self->get_config_from_file(path($self->configfile)->absolute($self->zilla->root));
},
);
around dump_config => sub
{
my $orig = shift;
( run in 0.635 second using v1.01-cache-2.11-cpan-5f2e87ce722 )