good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Is Perl Truly an Object Oriented Language?by nothingmuch (Priest) |
on Dec 03, 2004 at 14:29 UTC ( [id://412139]=note: print w/replies, xml ) | Need Help?? |
You also can't manipulate classes as if they were objects
Well, in perl someone could write a Class::AsObject module which injects methods like delete_symbol, create_subclass($name), add_field, add_method, and so forth into the UNIVERSAL namespace. These methods simply work as class methods, with the instance data sort of being the symbol table hash that the class takes up.
*shudder*
-nuffin zz zZ Z Z #!perl
In Section
Seekers of Perl Wisdom
|
|