in reply to Re: Proper way to create packages and re-usable code?
in thread Proper way to create packages and re-usable code?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Proper way to create packages and re-usable code?
by Discipulus (Canon) on Feb 11, 2016 at 09:52 UTC | |
by Anonymous Monk on Feb 11, 2016 at 12:07 UTC | |
by Discipulus (Canon) on Feb 11, 2016 at 12:21 UTC |