I'd imagine something closer to
return my $var but :setter { ... };
where $var is probably accessible in the setter as the current topic.
Makeshifts last the longest.
In reply to Re^18: Assignable Subroutines
by Aristotle
in thread Assignable Subroutines
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |