I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-11-23 13:27:38-08 by jdhedden
Object::InsideOut v1.14 - 'Set' Accessor Return Value
Object::InsideOut v1.14 adds the capability to specify the return value for 'set' accessors. The default behavior of automatically generated set-type accessors is to return the value being set. Using the 'Return' keyword in the ':Field' attribute allows you to have the accessor return the old/previous value:
my @data :Field('Set' => 'set_data', 'Return' => 'Old');
or to return the object itself:
my @data :Field('Set' => 'set_data', 'Return' => 'Object');
The latter allows object method chaining:
$obj->set_data($data)->do_something();
Direct Responses: Write a response