Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

+ -

  eumm-migrate - easy way to migrate to Module::Buil on 2009.12.29 15:35 chorny

Submitted by chorny on 2009.12.29 15:35
User Journal
Continuing celebration of Perl birthday...

ExtUtils::MakeMaker is a well known and well problematic module for installing Perl modules.

eumm-migrate is a tool I wrote to migrate from ExtUtils::MakeMaker to Module::Build. It executes Makefile.PL with fake ExtUtils::MakeMaker and rewrites all parameters for WriteMakefile into corresponding params of Module::Build->new. Calls to 'prompt' are also intercepted and corresponding 'prompt' is written to Build.PL. All other info should be ported manually.

Install App::EUMM::Migrade from CPAN and just run eumm-migrate.pl (it will be in your PATH) in directory with Makefile.PL. If you use Github, Internet connection is recommended.

eumm-migrate tries to automatically detect some properties like license, minimum Perl version required and repository used.

If someone needs it, I can also add a Module::Install writer.

P.S. If you want to just use new features of EU::MM, see eumm-upgrade.

Read More 0 comments

This discussion was created as logged-in users only. Log in and try again!
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.