
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,
);

App::SmokeBrew::Types is a library of Moose types for smokebrew.

It provides the following types:
PerlVersionA Perl::Version object.
Coerced from Str via new in Perl::Version
Constrained to existing in Module::CoreList released and being >= 5.006
ArrayRefUriAn arrayref of URI objects.
Coerces from <Str> and ArrayRef[Str] via MooseX::Types::URI
ArrayRefStrAn arrayref of Str.
Coerces from Str.

Chris BinGOs Williams
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.
