moosex::types::set::object(3pm) [debian man page]
MooseX::Types::Set::Object(3pm) User Contributed Perl Documentation MooseX::Types::Set::Object(3pm) NAME
MooseX::Types::Set::Object - Set::Object type with coercions and stuff. SYNOPSIS
package Foo; use Moose; use MooseX::Types::Set::Object; has children => ( isa => "Set::Object", accessor => "transition_set", coerce => 1, # also accept array refs handles => { children => "members", add_child => "insert", remove_child => "remove", # See Set::Object for all the methods you could delegate }, ); # ... my $foo = Foo->new( children => [ @objects ] ); $foo->add_child( $obj ); DESCRIPTION
This module provides Moose type constraints (see Moose::Util::TypeConstraints, MooseX::Types). TYPES
Set::Object A subtype of "Object" that isa Set::Object with coercions to and from the "ArrayRef" type. SEE ALSO
Set::Object, MooseX::AttributeHandlers, MooseX::Types, Moose::Util::TypeConstraints AUTHOR
Yuval Kogman <nothingmuch@woobling.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Yuval Kogman. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2010-12-01 MooseX::Types::Set::Object(3pm)
Check Out this Related Man Page
MooseX::Types::CheckedUtilExports(3pm) User Contributed Perl Documentation MooseX::Types::CheckedUtilExports(3pm) NAME
MooseX::Types::CheckedUtilExports - Wrap Moose::Util::TypeConstraints to be safer for MooseX::Types VERSION
version 0.41 DESCRIPTION
Prevents errors like: subtype Foo => ... Which should be written as: subtype Foo, ... When using MooseX::Types. Exported by that module. Exports checked versions of the following subs: "type" "subtype" "maybe_type" "duck_type" "enum" "coerce" "from" "as" While "class_type" and "role_type" will also register the type in the library. From Moose::Util::TypeConstraints. See that module for syntax. SEE ALSO
MooseX::Types LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself. AUTHOR
Robert "phaylon" Sedlacek <rs@474.at> COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Robert "phaylon" Sedlacek. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.18.2 2013-12-21 MooseX::Types::CheckedUtilExports(3pm)