http://qs1969.pair.com?node_id=1152728

Cody Fendant has asked for the wisdom of the Perl Monks concerning the following question:

I've created a module for my own purposes to access a particular SOAP interface.

All I've really done is make some .pm files which do what I want.

What are the steps I should follow if I want to make it a proper installable module with tests, which cpan etc. would place in the system path? Which tests should I write, at a minimum? Is there a good tutorial on this which Monks recommend?

Followup question: there are non-perl files (XML Templates) used by the module. What's the right way to place those files in order for the module to find them? Can I just put them in a templates directory inside the module's directory?