Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

moosex::types::checkedutilexports(3) [osx man page]

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

NAME
MooseX::Types::CheckedUtilExports - Wrap Moose::Util::TypeConstraints to be safer for MooseX::Types VERSION
version 0.35 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) 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::CheckedUtilExports(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.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.14.2 2012-05-19 MooseX::Types::Moose(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl data type checking

I am using perl 5.8.0. I need to check some values to see it they are floats. Our system does not have Data::Types so I can't use is_float. Is there something else that I can use? The only thing in Data is Dump.pm. I am not allowed to download anything to our system so I have to use what I have.... (3 Replies)
Discussion started by: ajgwin
3 Replies

2. What is on Your Mind?

What Types of Food Do You Like The Most?

On another simple topic, multiple choice answers OK ( you can pick more than one or suggest others - we will add your suggestions to the poll ). What Types of Food Do You Like The Most? (27 Replies)
Discussion started by: Neo
27 Replies

3. Programming

Are These All The Integer Types In C

Hello and Good day, I am currently studying C and I just finished learning about variables mainly those of integer type. I am wondering if the list below are all there is to integer variables and there are still more that i have to learn. Here are the list: Char Short int long long long... (3 Replies)
Discussion started by: split_func0
3 Replies