in reply to Building Good Modules
Yes, I concur with talexb that option 2 is the way to go.
Start a project directory and make subdirs:
lib/ t/ bin/
and use them like/lib/YOUR_DISTRO_NAME/PSjoin.pm /lib/YOUR_DISTRO_NAME/PS2png.pm /lib/YOUR_DISTRO_NAME/PStopdf.pm /lib/YOUR_DISTRO_NAME/Utils/Frobnicate.pm
use YOUR_DISTRO_NAME::PSjoin; use YOUR_DISTRO_NAME::Utils::Frobnicate;
Then when you want to build a distribution in the future your files will be in the proper structure. You don't have to worry about such packaging tools now, but preparing for them is wise.
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Building Good Modules
by John N8UR (Novice) on Feb 13, 2019 at 02:56 UTC | |
by hippo (Archbishop) on Feb 13, 2019 at 09:02 UTC | |
by John N8UR (Novice) on Feb 13, 2019 at 14:46 UTC |