OK, this is more so I can get ideas on how you people do it... generally when I'm coding small scripts I end up repeatedly typing in the same stuff.. now of course one could resort to one of the several full-fledged template solutions but I find that rather unecessary... instead how do you go about coding small scripts whilst keeping the code organised?

Pedro.