Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

class::trait::lib::tequality(3pm) [debian man page]

Class::Trait::Lib::TEquality(3pm)			User Contributed Perl Documentation			 Class::Trait::Lib::TEquality(3pm)

NAME
TEquality - Trait for adding equality testing to your object DESCRIPTION
TEquality adds a number of equality testing features, including type-equality as well as object instance equality. REQUIRES
equalTo ($left, $right) The "equalTo" method is expected to return either true if its two arguments are equal (by whatever standards your devise), or false if they are not. OVERLOADS
== != PROVIDES
notEqualTo ($left, $right) This is the inverse of "equalTo". isSameTypeAs ($left, $right) This will determine type equality, meaning it will determine if both arguements are derived from the same type. isExactly ($left, $right) This will attempt to discern whether or not the two arguments given are the same object. It even takes into account the possibility that the objects might also have utilized the TPrintable trait, and so works around that automatic stringification. AUTHOR
Stevan Little <stevan@iinteractive.com> COPYRIGHT AND LICENSE
Copyright 2004, 2005 by Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2010-04-25 Class::Trait::Lib::TEquality(3pm)

Check Out this Related Man Page

MooseX::AttributeHelpers::Trait::Collection::List(3pm)	User Contributed Perl Documentation MooseX::AttributeHelpers::Trait::Collection::List(3pm)

NAME
MooseX::AttributeHelpers::Collection::List - List attribute SYNOPSIS
package Stuff; use Moose; use MooseX::AttributeHelpers; has 'options' => ( metaclass => 'Collection::List', is => 'ro', isa => 'ArrayRef[Int]', default => sub { [] }, provides => { map => 'map_options', grep => 'filter_options', } ); DESCRIPTION
This module provides an List attribute which provides a number of list operations. See MooseX::AttributeHelpers::MethodProvider::List for more details. METHODS
meta method_provider has_method_provider helper_type BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. AUTHOR
Stevan Little <stevan@iinteractive.com> COPYRIGHT AND LICENSE
Copyright 2007-2009 by Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-01-02 MooseX::AttributeHelpers::Trait::Collection::List(3pm)
Man Page