P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
When a lot ( > 2 ) of your subroutines have the exact same code, why type it more than once? :) Other than that, some things generate lots and lots of accessors. Writing some code to automatically generate them all means less typing and a single point of maintenance when you decide you need to change them all.
-- brian d foy <brian@stonehenge.com> In reply to Re^2: Modules for autogenerating accessor/mutator methods
by brian_d_foy
|
|