Here's a sketch using a package variable:
package MyFramework::DBIClass; sub setup { $MyFramework::ActiveDBIClass->connect_database } ... package MyWebApp; $MyFramework::ActiveDBIClass = 'MyWebApp::DBIClass';
In reply to Re: Intelligent Package Interaction
by simonm
in thread Intelligent Package Interaction
by nmerriweather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |