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

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

Fellow Perl Monks,

I have been writing Perl scripts for approximately 2 years now, but, I have never found a reason to create a module or package. Yesterday I had some extra time so I spent it creating a module to perform a file naming subroutine that I use in most every Perl script that I write.

My question is: How many times in general do you reuse a subroutine or piece of code before you turn it into a module or package, or are packages and modules not that widely used?

Thanks in Advance,

Greg