WithData.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict;
2 use warnings;
3 package Dist::Zilla::Plugin::MungeFile::WithData;
4 # ABSTRACT: (DEPRECATED) Modify files in the build, with templates and DATA section
5 # vim: set ts=8 sts=4 sw=4 tw=115 et :
6  
7 our $VERSION = '0.009';
8  
9 use Moose;
10 extends 'Dist::Zilla::Plugin::MungeFile::WithDataSection';
11 use namespace::autoclean;
12  
13 before register_component => sub {
14 warnings::warnif('deprecated',
15 "!!! [MungeFile::WithData] is deprecated and will be removed in a future release; replace it with [MungeFile::WithDataSection]\n",
16 );
17 };
18  
19 __PACKAGE__->meta->make_immutable;
20  
21 __END__