The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::vaporcalc::Types

SYNOPSIS

  use App::vaporcalc::Types -all;

DESCRIPTION

A set of Type::Tiny types intended for internal use by App::vaporcalc.

Numeric types

Percentage

An integer between 0 and 100.

RoundedResult

A number formatted to one decimal point ('%.1f').

Can be coerced from a StrictNum.

Object types

AppException

An App::vaporcalc::Exception instance.

Can be coerced from a Str.

FlavorObject

An App::vaporcalc::Flavor instance.

Can be coerced from a HashRef.

RecipeObject

An App::vaporcalc::Recipe instance.

Can be coerced from a HashRef.

ResultObject

An App::vaporcalc::Result instance.

Can be coerced from a HashRef.

RecipeResultSet

An App::vaporcalc::RecipeResultSet instance.

Stringy types

VaporLiquid

A valid base liquid type (PG or VG).

Can be coerced from a lowercase string.

CommandAction

A valid vaporcalc loop control action, one of:

  display print prompt next last recipe

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>