Which of the following is a constructor in Perl: a. bless b. return c. :: d. new -- answer
But in my eyes new has NO special status to Perl under ANY circumstances and it is MERELY by convention that one returns newly blessed references to something or the other in a subroutine named new()
Am I rite or rong?
In reply to new() is just a constructor by convention right? by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |