can you explain the intent there? why should setting bar also change foo?$o->bar( 99 ); is $o->bar, 99, "can set and get value of Bar's secret"; is $o->foo, 99, "secrets of subclasses are shared";
In reply to Re: Encapsulation as aid to debugging
by mreece
in thread Better Inside-Out Objects :)
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |