![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Where to put data that goes with a module?by tobyink (Canon) |
on Jul 02, 2020 at 09:08 UTC ( #11118798=note: print w/replies, xml ) | Need Help?? |
Either use File::ShareDir as swl suggests, or if there's a one-to-one correspondence between modules and data (i.e. your module only needs one data file, and the data file will only be used by that one module) use a __DATA__ section.
In Section
Seekers of Perl Wisdom
|
|