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

NAME

Dancer::Core::Types - Moo types for Dancer core.

VERSION

version 1.9999_01

DESCRIPTION

Type definitions for Moo attributes. These are defined as subroutines.

MOO TYPES

ReadableFilePath($value)

A readable file path.

WritableFilePath($value)

A writable file path.

DancerPrefix($value)

A proper Dancer prefix, which is basically a prefix that starts with a / character.

DancerAppName($value)

A proper Dancer application name.

Currently this only checks for \w+.

DancerMethod($value)

An acceptable method supported by Dancer.

Currently this includes: get, head, post, put, delete and options.

DancerHTTPMethod($value)

An acceptable HTTP method supported by Dancer.

Current this includes: GET, HEAD, POST, PUT, DELETE and OPTIONS.

SEE ALSO

MooX::Types::MooseLike for more available types

AUTHOR

Dancer Core Developers

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.