Basically, I have my modules, but they're really not modules, just an extention of my existing code.
For example, in my main script I simply have:
[perl]use myMod;
myMod::myFunc( $thisandthat);
[/perl]
And in my module just:
[perl]package myMod;
...code...
1;
[/perl]
But how do I actually make it a module, as in my main script actually says:
[perl]use myMod;
my $mod = new myMod;
$mod -> myFunc( @stuff);
[/perl]
you can structure your modules by putting them in subdirectories.
so if you put your module code in /path/to/local_lib/FOO/myMod.pm you could do something like:
use lib "/path/to/local_lib";
use FOO::myMod;
...
type "perldoc perlmod" for the online doc...