"Christopher J. Madsen" <p...@cjmweb.net> 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.

  Therefore, I'll probably look into using File::ShareDir
without the "cleanness" of the share_dir parameter, espe-
cially since I'll have to implement the database generation
anyhow.

Tim

Reply via email to