the methods you install in AUTOLOAD always reference their first invocant/arg. You will have to use something like (untested):
Cheers, Chris*{$AUTOLOAD} = sub {my ($self, $newval) = @_; $self->{$property_name} = $newval };
In reply to Re^3: Problem with Class
by lamprecht
in thread Problem with Class and AUTOLOAD with GTK
by kapello
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |