Cory G Watson > Graphics-Color > Graphics::Color::Equal

Download:
Graphics-Color-0.31.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.31   Source  

NAME ^

Graphics::Color::Equal - Moose equality role

VERSION ^

version 0.31

SYNOPSIS ^

  package Graphics::Color::Foo;
  use Moose;

  with 'Graphics::Color::Equal';

  sub equal_to {
      my ($self, $other) = @_;
      
      # compare and return!
  }

DESCRIPTION ^

Graphics::Color::Equal is a Moose role for equality.

METHODS ^

equal_to

Implement this.

not_equal_to

Provided you implement equal_to, this will be implemented for you!

AUTHOR ^

Cory G Watson <gphat@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Cold Hard Code, LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: