in reply to h2xs again
Read Effective Perl Programming, pages 177 to 195, chapter "Writing Packages and Modules".
Christian Lemburg Brainbench MVP for Perl http://www.brainbench.com