http://www.perlmonks.org?node_id=583398


in reply to Modules dealing with data files

I created Business::ISBN::Data so I could update the data without forcing people to upgrade Business::ISBN. If you do something similar, you could post the data file on CPAN so at least people can find it easily if the post office changes their website, etc. A clever Makefile.PL (or Build.PL or whatever) can shove the data file into the same directory as the module since %INC knows where that is. If the data module is a prerequisite, CPAN.pm or CPANPLUS will install it first.

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review