package Fey::Role::Comparable; use strict; use warnings; our $VERSION = '0.34'; use Moose::Role; sub is_comparable { 1 } no Moose::Role; 1; __END__ =head1 NAME Fey::Role::Comparable - A role for things that can be part of a WHERE clause =head1 SYNOPSIS use Moose; with 'Fey::Role::Comparable'; =head1 DESCRIPTION Classes which do this role represent an object which can be compared to a column in a C clause. =head1 METHODS This role provides the following methods: =head2 $object->is_comparable() Returns true. =head1 AUTHOR Dave Rolsky, =head1 BUGS See L for details on how to report bugs. =head1 COPYRIGHT & LICENSE Copyright 2006-2009 Dave Rolsky, All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut