App::SmokeBrew::Types - Moose types for smokebrew
use App::SmokeBrew::Types qw[ArrayRefUri PerlVersion ArrayRefStr]; has 'version' => ( is => 'ro', isa => 'PerlVersion', coerce => 1, ); has 'things' => ( is => 'ro', isa => 'ArrayRefStr', coerce => 1, ); has 'websites' => ( is => 'ro', isa => 'ArrayRefUri', coerce => 1, );
It provides the following types:
A Perl::Version object.
new in Perl::Version
Constrained to existing in Module::CoreList
released and being >=
An arrayref of URI objects.
Coerces from <Str> and
ArrayRef[Str] via MooseX::Types::URI
An arrayref of
with thanks to Florian Ragwitz for the MooseX::Types::URI sugar.
Copyright © Chris Williams
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.