On Sat, Jun 15, 2013 at 02:23:30AM -0400, Faelin McCaley Landy wrote:
> Hi there,
> 
> More questions! I'm trying to implement both increment/decrement operators
> and equality operators in Moose (using "++" / "--" and "=="), but my
> objects don't seem to respond at all to the  use overload '==', ...  pragma,
> or either of the other two relevant ones. I even tried copying lines out of
> the  
> Moose::Cookbook::Basics::Genome_OverloadingSubtypesAndCoercion<https://metacpan.org/module/ETHER/Moose-2.0802/lib/Moose/Cookbook/Basics/Genome_OverloadingSubtypesAndCoercion.pod>,
> to no avail! Do I have to start messing around with
> Class::MOP::Method::Overload<https://metacpan.org/module/ETHER/Moose-2.0802/lib/Class/MOP/Method/Overload.pm>?
> I distinctly hope not; that's a can of worms that I don't really want to
> pry open...

Can you give examples of code that isn't working?

-doy

Reply via email to