in reply to (tye)Re: new() is just a constructor by convention right?
in thread new() is just a constructor by convention right?
Though the tradition of using "new" is so strong that I can understand that answer. I can't, at the moment, think of a single object module that doesn't provide "new" as a constructor.DBI, for one. Uses connect.
-- Randal L. Schwartz, Perl hacker
|
|---|