in reply to Re: Re: The costs of packages
in thread The costs of packages
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