in reply to Re^3: OOP design related question.
in thread OOP design related question.
IMHO it's better to just say my $DB = DBIx::Handy->new() where I need to use it. Or probably a better solution would be having a package that is base for everything in the application and having just dbix_handy method (that would return the DBIx::Handy instance in it.
Oh well, I'll try all of those solution and see what works best - after all, those with more experience means that they made more mistakes :)
Either way, Design Patterns are the next thing I intend to give my attention to.
Thanks!
|
---|