what would you do with $c->area = -42?
What you do with $c->set_area( -42 )?
how do you go back and change the interface later to avoid lvalue subs?
How do you go back and change the interface later to avoid set_foo methods?
Makeshifts last the longest.
In reply to Re^3: Perl OO and accessors
by Aristotle
in thread Perl OO and accessors
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |