jeteve has asked for the wisdom of the Perl Monks concerning the following question:
I need to release a module that will make use of binary data, ( a dump of a Text::Scan dictionary to be precise ).
I'm wondering what's the best way to package data files with a CPAN module. Data files being anything, from images to heavy pre computed data.
A great thing would be to be able to do that:
'DATA' => { 'data1' => 'data/myfile1.bin' , ... }
use Data::Resource ; # I don't know if that module exists. my $binData = Data::Resource->getResource('data1');
I don't know if that kind of mecanism could be implemented or it exists already.
Thanks for your thoughts and help.
Jerome-- Chat with me live here !
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Distributing binary data along with a CPAN module
by andreas1234567 (Vicar) on Feb 21, 2008 at 14:09 UTC | |
|
Re: Distributing binary data along with a CPAN module
by stiller (Friar) on Feb 21, 2008 at 15:03 UTC | |
|
Re: Distributing binary data along with a CPAN module
by adamk (Chaplain) on Feb 22, 2008 at 02:34 UTC | |
by DrHyde (Prior) on Feb 25, 2008 at 11:03 UTC |