![]() |
|
more useful options | |
PerlMonks |
Re: The costs of packagesby Abigail-II (Bishop) |
on Sep 17, 2003 at 00:23 UTC ( #292005=note: print w/replies, xml ) | Need Help?? |
I was actively avoiding the use of new, because new is
commonly used as a constructor. I didn't have the time to
figure out what would happen if I placed new in
UNIVERSAL, while new was also being used in an
indirect object call (which your real program may, or may
not be using). There's nothing special about new. And I probably would have used new
if your example code had used TypeA -> new
instead of new TypeA.
Abigail
In Section
Seekers of Perl Wisdom
|
|