Simplifying somewhat (ok, a heck of a lot), an rvalued:
$foo is bar
or
$foo : bar
is syntactic sugar for:
bar($foo)
with some extra magic for handling a properties hash
associated with $foo's value, in particular resetting
On 7/3/01 8:14 PM, Damian Conway wrote:
You lost me here. Your ideas for properties are different from mine
(which may well, in turn, be different from Larry's).
Anyone else get the feeling that properties are to Perl 6 what oo was to
Perl 5? :) It's like we'll finally be getting the oo bit
Simplifying somewhat (ok, a heck of a lot), an rvalued:
$foo is bar
or
$foo : bar
is syntactic sugar for:
bar($foo)
with some extra magic for handling a properties hash
associated with $foo's value, in particular resetting the
hash when $foo's value changes.
Right?
Basically,