moosex::types::typedecorator5.12(3) [osx man page]
MooseX::Types::TypeDecorator(3) User Contributed Perl Documentation MooseX::Types::TypeDecorator(3)NAME
MooseX::Types::TypeDecorator - Wraps Moose::Meta::TypeConstraint objects with added features
VERSION
version 0.30
DESCRIPTION
This is a decorator object that contains an underlying type constraint. We use this to control access to the type constraint and to add
some features.
METHODS
This class defines the following methods.
new
Old school instantiation
__type_constraint ($type_constraint)
Set/Get the type_constraint.
isa
handle $self->isa since AUTOLOAD can't.
can
handle $self->can since AUTOLOAD can't.
meta
have meta examine the underlying type constraints
_throw_error
properly delegate error messages
DESTROY
We might need it later
AUTOLOAD
Delegate to the decorator target.
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) 2011 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.12.5 2011-09-17 MooseX::Types::TypeDecorator(3)
Check Out this Related Man Page
MooseX::Types::Moose(3pm) User Contributed Perl Documentation MooseX::Types::Moose(3pm)NAME
MooseX::Types::Moose - Type exports that match the types shipped with Moose
VERSION
version 0.41
SYNOPSIS
package Foo;
use Moose;
use MooseX::Types::Moose qw( ArrayRef Int Str );
use Carp qw( croak );
has 'name',
is => 'rw',
isa => Str;
has 'ids',
is => 'rw',
isa => ArrayRef[Int];
sub add {
my ($self, $x, $y) = @_;
croak 'First arg not an Int' unless is_Int($x);
croak 'Second arg not an Int' unless is_Int($y);
return $x + $y;
}
1;
DESCRIPTION
This package contains a virtual library for MooseX::Types that is able to export all types known to Moose. See MooseX::Types for general
usage information.
METHODS
type_storage
Overrides MooseX::Types::Base' "type_storage" to provide a hash reference containing all built-in Moose types.
SEE ALSO
MooseX::Types::Moose, Moose, Moose::Util::TypeConstraints
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::Moose(3pm)
I am currently taking a Unix programming class in school, I want ot know which is more efficient and quicker, downloading the os or buying the os (4 Replies)
Hey guys, i'm in trouble, i'm high school teacher, and a student ask me for help, he want's to know where he can study C language for his application exam. Somebody could help us? (1 Reply)
hello,
For school i make the next mission:
give how many chambers in a constant number. use an array which chamber is free and count how many chamber there are free. make also something to test
I don't now how to start. I need an well example so i can make the mission
thank you (1 Reply)