The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;

{
    package Foo;
    use Want;

    sub new { return (bless({}, shift)); }

    my $foo;

    sub foo :lvalue
    {
        my (@args) = Want::want('ASSIGN');
        $foo = $args[0];
        Want::lnoreturn;
        return;
    }

}

use threads;
my $obj = Foo->new();
$obj->foo() = 'bar';

# EOF