http://www.perlmonks.org?node_id=1031590


in reply to Developing code to be a module

Well, I am probably not a good example, I have only 'modulized' a couple of time.

The sequence of events starts with a 'one-shot' the grows up and expands to include several (related) functions of the course of a few weeks/months. At some point I get tired of the spaghetti and spend a weekend writing up functional descriptions (read: the POD and the Examples) and tests for each of the functions.

Then I spend free time (such as it is) for the next week or two fleshing out the stub-function so that they a) satisfy the spec, and b) pass all the tests. The end result gets installed in my local-lib as a module and I rattle it some more before inflicting it on my Team.

----

I Go Back to Sleep, Now.

OGB