MooseX-Meta-Attribute-Lvalue reviews

cpanratings
 

RSS | Module Info | Add a review of MooseX-Meta-Attribute-Lvalue

MooseX-Meta-Attribute-Lvalue (0.05)

I recently took over maintenance for MooseX-Meta-Attribute-Lvalue, and have renamed the distribution MooseX-LvalueAttribute.

The latest versions use Variable::Magic to ensure that type constraints, coercions, triggers, etc, *do* get called in lvalue context.

MooseX-Meta-Attribute-Lvalue (0.02) **

This is a bad idea, because the only way to actually make lvalue accessors work correctly would be to use a tied scalar when used in lvalue context. Otherwise no guarantees about the type constraint or storage is made, breaking the assumptions that you can make with a normal Moose class.