[Pdx-pm] Convert code to a module

Roderick A. Anderson raanders at acm.org
Fri May 28 11:29:19 CDT 2004

I'd like some suggestions on what is the best reading on how to convert my
existing code to a modules.  It has lots of subroutines that are fairly
well abstracted/generalized but I'd like to get them out of the main file
and usable by my other applications.  (How may times do I need to copy and
paste a debugging/logging (sub)routine?)
   So I figure I could/should move them into a module.

I have what I think are the definitive books on OOPerl:

	Advanced Perl Programming
	Effective Perl Programming: Writing Better Programs
	Learning Perl Objects, References & Modules
	Perl Cookbook, 2nd Edition
of course
	Programming Perl, 3rd Edition

(and a couple of others I can't think of off the top of my head) but that
is a lot to (re)search through and (re)digest.

I seem to remember some articles on moving from monolith coding to modules 
but can't place my brain on them now.

Any suggestions?

    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
             "My middleware is perl, sorry if yours isn't"

More information about the Pdx-pm-list mailing list