a constructor is simply a sub, that returns a blessed reference.Note that's not what you said before. There you said:
I thought a constructor is any routine that calls the bless operator.which I find a silly and confusing term.
BTW, just because something is mentioned in the documentation doesn't mean 1) it's useful, 2) it's true, or 3) I agree with it.
In reply to Re^8: Perl "new" command
by JavaFan
in thread Perl "new" command
by akagrawal3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |