Large amounts of data in CPAN packages
Jan. 22nd, 2010 11:57 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
I have a CPAN package called Lingua::EN::Alphabet::Shaw which transliterates between the Latin and Shavian alphabets. Currently it keeps the transliteration data, a few megabytes, in /usr, and it gets installed along with the package. I was thinking that it would be useful to add the ability to download the data every so often from shavian.org.uk, but unless that involves me actually updating the CPAN package every week, it doesn't seem workable to keep the data in /usr, since the user generally doesn't have write permission there. So either we keep one copy in /usr and any updates in /home, or we require the user to download the data on first use of the package rather than during installation.
I'm wondering what your opinion is of packages which do this. I remember it was one of several annoyances I had with Lingua::Phoneme.
(Of course, the user might not even have much of a home directory, say if it was the Apache user, which makes things a bit more complicated.)
I'm wondering what your opinion is of packages which do this. I remember it was one of several annoyances I had with Lingua::Phoneme.
(Of course, the user might not even have much of a home directory, say if it was the Apache user, which makes things a bit more complicated.)