We are arguing about taste here :) I dislike the MI approach, and really prefer initialize the object inside constructor to be sure my object will be instantiated correctly.
Thinking about MI, your scheme is correct.
In reply to Re^5: Object Constructors - Advice of experienced OO Perl Monks
by izut
in thread Object Constructors - Advice of experienced OO Perl Monks
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |