I've built a CPAN module skeleton using module-builder, which means that I've got this structure:
Changes
ignore.txt
lib/
Makefile.PL
MANIFEST
README
t/
I've got both lib/My/Module.pm
and lib/My/Module/Data.pm
. Data.pm
contains a hash generated from another script. It takes a couple of minutes to build and doesn't take much space, so I want to ship the complete Data.pm
and not let the user build it. On the other hand, I also want to ship the script that builds Data.pm
in case anyone would be interested in it.
Where in the module should I put the script that builds Data.pm
?