|
|
| No such thing as a small change | |
| PerlMonks |
Re: Global Super Class (equivalent of java.lang.Object)by Ovid (Cardinal) |
| on Sep 26, 2006 at 09:16 UTC ( [id://574926]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Don't put anything into the UNIVERSAL class as you may break a bunch of code already installed on your system. Instead, create your own "global super class" and have all of your base classes explicitly inherit from that. You'll get the benefit you want and not break anything else. Cheers, New address of my CGI Course.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||