Alexis Sukrieh > Dancer-2.0000_01 > Dancer::Core::Types

Download:
Dancer-2.0000_01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 2.0000_01   Source  

NAME ^

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

VERSION ^

version 2.0000_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.

syntax highlighting: