Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
encapsulation of class attributes (if you care about that sort of thing) You should care. Otherwise, why are you bothering with OO at all? Automating get/set methods with AUTOLOAD No, that breaks encapsulation. AUTOLOAD isn't the best way to do that, anyway. Putting sub refs directly into the symbol table at runtime is much faster. ---- Note: All code is untested, unless otherwise stated In reply to Re: Re: How to measure Perl skills?
by hardburn
|
|