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

use Perl Log In

Log In

[ Create a new account ]

Journal of LTjake (4001)

Tuesday March 29, 2005
02:25 PM

Module::Build first impressions

[ #23912 ]

After reading Schwern's rant this morning, I decided I would bite the bullet and convert a simple distro over from EU::MM to Module::Build. Here are a few things I noticed:

  • In this trivial case, the conversion was relatively straight-forward.
  • With EU::MM, the auto-generated META.yml file is auto-added to your MANIFEST; however, this is not the case with Module::Build (thus resulting in a warning about a missing META.yml when first running perl Build.PL).
  • Also, auto-generated README and Makefile.PL files are auto-added to the MANIFEST (which is a recent development).
  • My old hand-made README files had an INSTALLATION section. I've decided to replicate this section (and add Module::Build instructions) in the pod (thus it ends up in the README again).
  • On win32 (at least), perl Build dist produces a messed up dist (via Archive::Tar, I guess) -- to use command line tools instead use (assuming they're in the path): perl Build dist --tar tar --gzip gzip
  • The Makefile.PL produced by create_makefile_pl => 'traditional' worked flawlessly.

Overall things went really smoothly. I plan on converting all of my modules over as I push out new releases. However, I will continue to generate traditional Makefile.PL's for the time being.

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 | Reply
Loading... please wait.
  • @rem build-module.bat @rem Build a Perl module @rem Parameter: @rem 1: CGI-Session-Manager @rem 2: 1.00 cd \perl-modules\%1-%2 rd /q /s x86 md x86 perl Build.PL perl Build perl Build manifest perl Build distmeta perl Build dist perl Build ppmdist codebase=x86/%1-%2.tar.gz move PPM-%1-%2.tar.gz x86\%1-%2.tar.gz rename %1-%2.tar.gz %1-%2.tgz del %1-%2.zip zip -q %1-%2.zip %1.ppd zip -qr %1-%2.zip x86