Chris Williams > smokebrew-0.44 > App::SmokeBrew::Types

Download:
smokebrew-0.44.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.44   Source  

NAME ^

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

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.

AUTHOR ^

Chris BinGOs Williams

with thanks to Florian Ragwitz for the MooseX::Types::URI sugar.

LICENSE ^

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.

SEE ALSO ^

URI

Perl::Version

MooseX::Types::URI

syntax highlighting: