Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: The costs of packages

by Abigail-II (Bishop)
on Sep 17, 2003 at 00:23 UTC ( #292005=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://292005]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-02-06 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (33 votes). Check out past polls.

    Notices?