Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

moosex::types::typedecorator(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.35 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 - this tries both the type constraint, and for a class type, the class. can handle $self->can since AUTOLOAD can't. _throw_error properly delegate error messages DESTROY We might need it later AUTOLOAD Delegate to the decorator target, unless this is a class type, in which case it will try to delegate to the type object, then if that fails try the class. The method 'new' is special cased to only be permitted on the class; if there is no class, or it does not provide a new method, an exception will be thrown. 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) 2012 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.16.2 2012-05-18 MooseX::Types::TypeDecorator(3)

Check Out this Related Man Page

MooseX::Types::Moose(3) 				User Contributed Perl Documentation				   MooseX::Types::Moose(3)

NAME
MooseX::Types::Moose - Type exports that match the types shipped with Moose VERSION
version 0.35 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) 2012 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.16.2 2012-05-18 MooseX::Types::Moose(3)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Downloading vs buying latest version of os

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)
Discussion started by: lavonte
4 Replies

2. Shell Programming and Scripting

Perl + object-oriented programming help

Currently Im trying to write a program that manipulates a class-based object as part of its functionality. However, the perl compiler is complaining that the class's respective package is not returning a true value. I have done the following a) Created a new package containing the body of the... (1 Reply)
Discussion started by: JamesGoh
1 Replies

3. UNIX for Dummies Questions & Answers

car class (not school class)

im just trying to have some fun and kill some time writing a c++ program that has a person type in a car make and model then gives them a year and a price. or something like that. i always have problems getting it goin but once the ball is rolling im usually pretty good. anyone wanna help me out? ... (1 Reply)
Discussion started by: rickym2626
1 Replies