LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Jan Dubois Date: Mon Mar 3 10:47:24 2008 Subject: RE: Win32::API v0.52 released to CPAN
On Mon, 03 Mar 2008, Cosimo Streppone wrote: > I think it's interesting, but what really puzzles me is how I managed > to screw up the META.yml that many times before understanding that > EU::MM was breaking it just before a `make dist' :( Yes, happened to me too a while ago. The minimal Makefile.PL I put into most of the libwin32 modules now looks like this: use strict; use warnings; use ExtUtils::MakeMaker; unless ($^O eq "MSWin32" || $^O eq "cygwin") { die "OS unsupported\n"; } my %param = ( NAME => 'Win32::Console', VERSION_FROM => 'Console.pm', ); $param{NO_META} = 1 if eval "$ExtUtils::MakeMaker::VERSION" >= 6.10_03; WriteMakefile(%param); That keeps the META.yml untouched as long as you don't use an ancient version of Perl for building your distribution. > What is the actual kind-of "state-of-the-art" on this? I mean EU::MM > vs. Module::Build? It seems like Module::Build would be a good choice nowadays. I just don't want to get side-tracked with it right now, but I'll certainly try moving other modules to it. Cheers, -Jan
| Navigate in group perl.libwin32 at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |