Chris Williams

NAME

App::SmokeBrew::Types - Moose types for smokebrew

VERSION

version 0.48

SYNOPSIS

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

DESCRIPTION

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

TYPES

It provides the following types:

PerlVersion

A Perl::Version object.

Coerced from Str via new in Perl::Version

Constrained to existing in Module::CoreList released and being >= 5.006

ArrayRefUri

An arrayref of URI objects.

Coerces from <Str> and ArrayRef[Str] via MooseX::Types::URI

ArrayRefStr

An arrayref of Str.

Coerces from Str.

KUDOS

Thanks to Florian Ragwitz for the MooseX::Types::URI sugar.

SEE ALSO

URI

Perl::Version

MooseX::Types::URI

AUTHOR

Chris Williams <chris@bingosnet.co.uk>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.