Re: Where to store module-specific read-only data?

Michael G Schwern <[email protected]> Wed, 30 Dec 2009 00:04:30 -0800
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
Tim Landscheidt wrote:
> "Christopher J. Madsen" <[email protected]> wrote:
> 
>>>   Where do CPAN modules usually store read-only data? Does
>>> someone know of a module that I could use for reference?
>>> Also I'm interested in modules using Module::Build with such
>>> a generation/transformation step in its Build.PL.
> 
>> You're looking for File::ShareDir and the share_dir parameter, which was
>> added in the just-released Module::Build 0.36.
> 
> As Module::Build is a core module, it is quite a pain to up-
> date in my distribution. I stopped after building packages
> for ExtUtils::CBuilder and ExtUtils::ParseXS when a require-
> ment for ExtUtils::Manifest 1.54 (with 1.51 already install-
> ed) would have meant a rebuild of ExtUtils::MakeMaker.
> There's just too much stuff that could break silently along
> the way.

That stuff is all pretty vital and solid.  Its unlikely to break anything by 
upgrading.

Also none of the above depends on an updated MakeMaker, I don't know what 
would have caused a MakeMaker rebuild.


-- 
Defender of Lexical Encapsulation