Don't expect there to be much difference in speed between $obj -> new and Class -> new. The overhead of calling the method dwarves any finding of the class.
Abigail
In reply to Re: $class = ref $class || $class
by Abigail-II
in thread Constructor/Factory Orthodoxy
by mojotoad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |