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.
Constrained to existing in Module::CoreList
releasedand being >=
An arrayref of URI objects.
Coerces from <Str> and
An arrayref of
Thanks to Florian Ragwitz for the MooseX::Types::URI sugar.
Chris Williams <firstname.lastname@example.org>
This software is copyright (c) 2020 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.