in reply to Re: Module::Build's pm_files in ExtUtils::MakeMaker?
in thread Module::Build's pm_files in ExtUtils::MakeMaker?
Hi! Thanks for your reply.
With your suggestion, i can now do the following which allows me to get rid of the pm_files section.
my $build = Module::Build->new( # ... tmpl_files => { 'etc/photos_index.tmpl' => 'lib/CGI/Application/PhotoGallery/ +photos_index.tmpl', 'etc/photos_single.tmpl' => 'lib/CGI/Application/PhotoGallery +/photos_single.tmpl', } ); $build->add_build_element( 'tmpl' ); $build->create_build_script;
So, Thanks! =)
However, the auto-generated Makefile.PL still has no idea about those templates and will not install them as needed.
--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you." (src)
In Section
Seekers of Perl Wisdom