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

Replies are listed 'Best First'.
Re^2: Modules dealing with data files
by grinder (Bishop) on Nov 10, 2006 at 23:14 UTC
    I created Business::ISBN::Data so I could update the data without forcing people to upgrade

    Aha! That was the thread I was trying to dig up in the module-authors archive, which was what I had in the back of my mind when I was figuring this out. Thanks for mentioning it, I can now go and reread it.

    • another intruder with the mooring in the heart of the Perl