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.
In reply to (Ovid - constructor names) Re(2): new() is just a constructor by convention right?
by Ovid
in thread new() is just a constructor by convention right?
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |