in reply to Re: How to measure Perl skills?
in thread How to measure Perl skills?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: (~OT) How to measure Perl skills?
by QM (Parson) on Mar 24, 2004 at 23:33 UTC | |
by diotalevi (Canon) on Mar 24, 2004 at 23:40 UTC | |
by QM (Parson) on Mar 24, 2004 at 23:53 UTC | |
by diotalevi (Canon) on Mar 25, 2004 at 00:03 UTC | |
by hardburn (Abbot) on Mar 25, 2004 at 04:52 UTC |