Re: How to properly install Data Files

Alexandr Ciornii <[email protected]> Mon, 18 Oct 2010 17:42:56 +0300
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
Hello, Shlomi

2010/10/18 Shlomi Fish <[email protected]>:
> On Monday 18 October 2010 13:59:01 David Golden wrote:
>> If you use a more recent Module::Build, look at the "share_dir"
>> parameter and File::ShareDir.  That has been more widely tested than a
>> home-grown solution.

> I'm using the Module::Build that comes default with the perl 5 or is installed
> there. How do I require a more recent version? (Assuming that does what I want
> it to.).

If you install latest M::B and does not set "auto_configure_requires"
key to 0, it will automatically require itself.
Another option is to set
configure_requires => {
  'Module::Build' => 0.36,
}

-- 
Alexandr Ciornii, http://chorny.net