|
|
| Just another Perl shrine | |
| PerlMonks |
Re^3: Tutorial: Introduction to Object-Oriented Programmingby adrianh (Chancellor) |
| on Dec 12, 2002 at 22:02 UTC ( #219441=note: print w/ replies, xml ) | Need Help?? |
|
Abigail-II will be better able to comment than myself, but I've been playing around with her technique on-and-off since I discovered it on perlmonks. While I've not been doing it in anger, it's not been entirely in jest either. I've been re-writing some Test::Class hierarchies that were fairly deep, and hence possible sources for hash key clashes. In general I've not had problems. It's a very nice hack to get around perl's lack of object attribute encapsulation. I'll probably use the technique in the next production project I do. Abigail-II - have you considered writing a little tutorial on the subject? :-) Issues that can cause problems:
In Section
Meditations
|
|
||||||||||||||||||||||||||||||