|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Comment on |
| ( #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
|
|