To me it is a trivial case that you want to provide a fake attribute
which for all intents and purposes behaves exactly like there was a real
attribute there, backing against another attribute.
A Date object is a classic example of this; you want to provide 0-based
and 1-based attributes, which
Sam Vilain wrote:
To me it is a trivial case that you want to provide a fake attribute
which for all intents and purposes behaves exactly like there was a real
attribute there, backing against another attribute.
A Date object is a classic example of this; you want to provide 0-based
and 1-based
On 6/26/05, Sam Vilain [EMAIL PROTECTED] wrote:
So, we've got this my $var is Proxy( ... ) construct in A06.
Say you've got this class:
class MagicVal {
has Int $.varies is rw;
method varies returns Int is rw {
return my $var is Proxy ( :for($.varies),