I'm pretty damn sure you did get that right!
That would do EXACTLY what i want it to do!
I'm gonna play around with that approach when i get home tonight. Thanks!
On Nov 17, 2004, at 2:26 PM, Tom Schindl wrote:
What you really need here when talking about Pattern-Programming is a "Factory-Class" which creates the
appropiate WebAppFramework::DBI-Sub-Class for you and design all your Website*::DBI-classes as "Singletons".
Hope I got you right? If you don't want to use config values you could also use the name of the package
in the handler e.g. Website1, Website2 and add "::DBI" in your factory method.
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html