$this || "default this", that => $that || "default that", }, $class; } sub this { my $self = shift; $self->{this} = shift if @_; $self->{this} } sub that { my $self = shift; $self->{that} = shift if @_; $self->{that} } sub msg { my $self = shift; return "[This: ". $self->this . ", That: ". $self->that . "]"; } _code?> msg; _code?>