David Landgren wrote:

[...]

Does that sound sane? Does anyone have some pointers on how to deal with the placement of datafiles on the local system with one module, and having the other module know where to find them?

Or am I making this unnecessarily complicated? (I could just bundle the data file with the distribution, but the size of the data file, and the probability that the format is unlikely to change invites the above approach).

Adam Kennedy wrote Data::Package after discovering fake modules that actually are just data. Not sure if it solve your problem: http:// search.cpan.org/dist/Data-Package/

Preferring simple solutions, I'll tend to use the traditional way for this: put the data in raw form alongside the Perl module, and find it in %INC. And I would also include the data with the distribution in order to avoid the internet access problem.

--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.

Reply via email to