in reply to (tye)Re: new() is just a constructor by convention right?
in thread new() is just a constructor by convention right?

Another example of constructors not names "new" would be in the TK module. All constructors in this module are named after the widgets that they create.

DBI also uses a "prepare" constructor.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid - constructor names) Re(2): new() is just a constructor by convention right?