|
I have a module that uses the latest version of Object::InsideOut (v1.11). The module has the following declaration.
my @f :Field('Type' => 'HASH');
When I try testing the module, I get the following error message:
OIO::Attribute error: Accessor name missing in :FIELD attribute in package ...
Info: Need 'GET', 'SET' or 'ACCESSOR' designator
Attribute: Field( 'Type' => 'HASH')
Removing 'Type' => 'HASH' or Adding 'Get' => 'xxx' makes the error go away.
Why is it an error to have a Type without a Get? Whenever I call ->set (the internal setter), I would like the value type checked. |