Query: moosex::types::moose
OS: debian
Section: 3pm
Links: debian man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MooseX::Types::Moose(3pm) User Contributed Perl Documentation MooseX::Types::Moose(3pm)NAMEMooseX::Types::Moose - Type exports that match the types shipped with MooseVERSIONversion 0.35SYNOPSISpackage 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;DESCRIPTIONThis 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.METHODStype_storage Overrides MooseX::Types::Base' "type_storage" to provide a hash reference containing all built-in Moose types.SEE ALSOMooseX::Types::Moose, Moose, Moose::Util::TypeConstraintsLICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as perl itself.AUTHORRobert "phaylon" Sedlacek <rs@474.at>COPYRIGHT AND LICENSEThis 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)
Similar Topics in the Unix Linux Community |
---|
What Types of Food Do You Like The Most? |