in reply to Re: Re: building modules
in thread building modules

perlmod is probably the doc you want.

For your second question, you just need to add the subroutine and then add it to the list of symbols to export.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated