Make a CPAN-like module is actually extremely simple, because the tools do most of it for you. The program you use is "h2xs" - historically, this was used to convert somthing.h files in C into the XS interface to the perl internals. A major mess that you don't want to know about, believe me. But you can use h2xs to generate a template of a perl module for you, without doing anything complicated. Here's the command to make a module which will have the name JimsSampleModule. h2xs -AX -n JimsSampleModule That's it. It creates a whole bunch of cool stuff in a JimsSampleModule/ directory. Then all you need do is edit the various files: source code, test.pl, readme, and so on. After making changes, you issue the following commands perl Makefile.PL which looks at what you have, and creates Makefile, used by the "make" utility. (A mess, but it's all been done for you.) Then you can say things like make install # which installs the module, or make dist # which makes JimsSampleModule.tar.gz So there you go...