/usr/share/perl5/Module/Starter/Plugin/CGIApp/templates/Build.PL is in libmodule-starter-plugin-cgiapp-perl 0.30-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
dist_name => '<tmpl_var distro>',
module_name => '<tmpl_var main_module>',
dist_abstract => 'Abstract goes here.',
dist_author => '<tmpl_var author> <<tmpl_var email>>',
license => '<tmpl_var license>',
dist_version => '0.01',
tmpl_files => eval {
my %tmpls; File::Find::find(
{
wanted => sub {
if ( -f $_ ) {
$tmpls{$File::Find::name} = $File::Find::name;
}
},
},
'<tmpl_var templatedir>',
);
return \%tmpls;
},
build_requires => {
'Test::More' => 0,
'Test::WWW::Mechanize::CGIApp' => 0,
},
requires => {
'CGI::Application' => 4.04,
'HTML::Template' => 0,
},
add_to_cleanup => [ '<tmpl_var distro>-*' ],
create_makefile_pl => 'traditional',
sign => 1,
);
$builder->add_build_element('tmpl');
$builder->create_build_script();
|