http://www.perlmonks.org?node_id=950457


in reply to Re^2: Module::Build's pm_files in ExtUtils::MakeMaker?
in thread Module::Build's pm_files in ExtUtils::MakeMaker?

Just in case anyone stumbles across this older post ... it's possible that the issue has been fixed, but there's (currently) nothing to stop you from using a different build element whose files are also in lib, where MakeMaker would find them:

tmpl_files => { map { $_ => $_ } glob( 'lib/CGI/Application/PhotoGallery/*.tmpl' +) },