sutch has asked for the wisdom of the Perl Monks concerning the following question:
I'm developing a package that will include some data files that will be read in for some operations. I've looked through some packages from CPAN and cannot find any packages that do such a thing.
Is there a recommended location for placing data files that are bundled with a package, or should the data be embedded within a perl module?
If the data file is to reside in the package's subdirectory of the lib directory, is there a method for determining the path to the package?
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Data files included in a package
by wufnik (Friar) on Aug 28, 2003 at 19:35 UTC | |
by Zaxo (Archbishop) on Aug 29, 2003 at 06:43 UTC | |
Re: Data files included in a package
by bart (Canon) on Aug 29, 2003 at 01:11 UTC | |
Re: Data files included in a package
by hardburn (Abbot) on Aug 28, 2003 at 19:29 UTC | |
Re: Data files included in a package
by williamp (Pilgrim) on Aug 28, 2003 at 22:22 UTC | |
by sutch (Curate) on Aug 29, 2003 at 00:46 UTC |
Back to
Seekers of Perl Wisdom