Don't ask to ask, just ask | |
PerlMonks |
Re^2: Proper way to create packages and re-usable code?by Anonymous Monk |
on Feb 11, 2016 at 09:38 UTC ( [id://1154930]=note: print w/replies, xml ) | Need Help?? |
A little related commentary Is ZXappz::Logger that uses log4perl and ZXappz::Database will load DBI :) That is one of those weird things that don't quite make sense log4perl and DBI both provide good APIs that they don't need generic wrappers Now if you're talking a static "Config" module or a "Model" module, that makes sense, but not a generic logger/database, log4per/DBI are already that generic module, just configure them and you're done Yeah, sometimes it makes sense to have a generic logger/database module as part of your API, but I'd say most of the time it doesn't :) its weird :D
In Section
Seekers of Perl Wisdom
|
|