in reply to Naive monk trying to make distinctions among subs, external calls and code reuse

I think you should bite the bullet here and put in some time to learn the basics of module creation. While creating a formal module in the cpan vein is still a bit daunting for me, making simple things that only I use took relatively little time to get up and running.

I would suggest you take a look at the FindBin module as a good tool to help you get started testing modules in a project directory. I often use the two below lines of code to point to a lib directory relative where my script is running. $FindBin::Bin will be the directory where your script is running.

use FindBin; use lib $FindBin::Bin . '/lib';

Replies are listed 'Best First'.
Re^2: Naive monk trying to make distinctions among subs, external calls and code reuse
by RichardK (Parson) on Sep 08, 2011 at 09:59 UTC

    Here's the link to the FindBin docs on cpan :)