That's pretty much what UNIVERSAL::Object aims to do, but uses UNIVERSAL::Object::new instead of UNIVERSAL::new. Probably pretty easy to do something like:
push @UNIVERSAL::ISA, 'UNIVERSAL::Object';
In reply to Re: OO systems and Perl 5 (Was: Recap: Future of Perl 5)
by tobyink
in thread OO systems and Perl 5 (Was: Recap: Future of Perl 5)
by RonW
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |