in reply to something on cpan to autogenerate Makefile.PL from existing distro?

I think scriptdist is close
$$ scriptdist footest.pl Quiet is 0 Home directory is RC directory is /.scriptdist The environment variable HOME has no value, so I will look in the current directory for /.scriptdist and /.scriptdistrc. Set the HOME environment variable to choose another directory. Processing footest.pl... Making directory footest.pl.d... Making directory footest.pl.d/t... RC directory is /.scriptdist cwd is ~/footest Checking for file [.cvsignore]... Adding file [.cvsignore]... Checking for file [.releaserc]... Adding file [.releaserc]... Checking for file [Changes]... Adding file [Changes]... Checking for file [MANIFEST.SKIP]... Adding file [MANIFEST.SKIP]... Checking for file [Makefile.PL]... Adding file [Makefile.PL]... Checking for file [t/compile.t]... Adding file [t/compile.t]... Checking for file [t/pod.t]... Adding file [t/pod.t]... Checking for file [t/prereq.t]... Adding file [t/prereq.t]... Checking for file [t/test_manifest]... Adding file [t/test_manifest].. +. Adding [footest.pl]... Copying script... Opening input [footest.pl] for output [footest.pl.d/footest.pl] Copied [footest.pl] with 0 replacements Creating MANIFEST...
Patched to use Test::XT - Best Practice for Author Tests, and combine with Module::Install::DSL (Module::Install extends not-typing lead over Module::Build), and Makefile.PL compacts into
use inc::Module::Install::DSL 0.81; all_from lib/My/Module.pm requires_from lib/My/Module.pm test_requires Test::More 0.42
Fancy :)