Subject: | Return value of Class::MOP::Class::add_attribute (and Moose::Meta::Attribute equivalent) is undocumented |
It currently returns the attribute just added, but this behaviour is
undocumented. I'd like to be able to rely on this behaviour, but without
documentation, I'm not sure if it's going to suddenly change without
warning in a future release.