"Real" and fast lvalue-subs that are able to "see" the right value (for checking), not the crippled implementation as today.
Yes, this is for accessors like
$object->foo = "bar";, I grew up with VB and
$object->foo("bar";) simply doesn't feel right.
I know it can be done by returning tied hashes, but that is fat, slow and ugly and needs extra work. Thinking about it, why not a new keyword:
package blablabla;
sub new
{
#...
}
property get foo
{
return $self->{_foo};
}
property set foo
{
my $foo = shift;
$self->{_foo} = $foo;
}