Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Intelligent Package Interactionby nmerriweather (Friar) |
on Nov 21, 2004 at 18:12 UTC ( [id://409390]=perlquestion: print w/replies, xml ) | Need Help?? |
nmerriweather has asked for the wisdom of the Perl Monks concerning the following question: A few months ago, I posted a question on passing DB handles through functions and packages here that related to a similar question here I've realized that this could be better addressed by some sort of intelligent interaction by packages -- one that I can't figure out. Hopefully someone here can help. I've created a base framework of packages for webapplications under mod_perl that contain functions I often use. MyFramework What I then do, is make another set of packages subclassing the first. MyWebApp
Here lies the problem: Can anyone suggest some ways in which I can structure this system so that I can limit the references passed around, and have the packages intelligently make queries for the correct info. 2004-11-21 Janitored by Arunbear - fixed links to previous questions
Back to
Seekers of Perl Wisdom
|
|