藤 吾郎 > MouseX-Types-Common-0.001000 > MouseX::Types::Common::String

Download:
MouseX-Types-Common-0.001000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.001000   Source  

NAME ^

MouseX::Types::Common::String - A set of commonly-used string type constraints

SYNOPSIS ^

    use MouseX::Types::Common::String qw/SimpleStr/;
    has short_str => (is => 'rw', isa => SimpleStr);

    ...
    #this will fail
    $object->short_str("string\nwith\nbreaks");

DESCRIPTION ^

A set of commonly-used string type constraints that do not ship with Mouse by default.

SEE ALSO ^

AUTHORS ^

Please see:: MouseX::Types::Common

syntax highlighting: