![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Modules, Frameworks, and Reinventing the Wheelby water (Deacon) |
on Aug 13, 2004 at 12:59 UTC ( #382645=note: print w/replies, xml ) | Need Help?? |
modules ++ frivolous module use -- mom and apple pie ++ Seriously, we favor two kinds of modules --
versus The former clearly indicates what is going on, the documention on what makes something fozzle_valid can go into the module (sub or object, depending), you can now write unit tests against the sub, you can use the sub in numerous places across the codebase (instead of just in this file, as a local sub would require), not have repeated code, etc. just my two cents -- your mileage may vary water from the great white north
In Section
Meditations
|
|