Do you know where your variables are? | |
PerlMonks |
Data files included in a packageby sutch (Curate) |
on Aug 28, 2003 at 19:18 UTC ( [id://287493]=perlquestion: print w/replies, xml ) | Need Help?? |
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.
Back to
Seekers of Perl Wisdom
|
|