Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Moose type definitions for Unicode strings

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 inc
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 META.yml
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
README
NAME
    MooseX::Types::UniStr - Moose type definitions for Unicode strings

SYNOPSIS
      use Moose;
      use MooseX::Types::UniStr;

      has 'name' => ( is => 'rw', isa => 'UniStr', coerce => 1 );

DESCRIPTION
    This module lets you specify attributes as Unicode strings.

TYPES / COERCIONS
  UniStr
    Coercions provided:

    from Str
        Turns on the Unicode bit using "Encode::decode_utf8($_)".

        If the Unicode bit is already on, the coercion is a no-op.

    to Str
        No-op; the Unicode bit is left on.

AUTHORS
    唐鳳 <cpan@audreyt.org>

    Jeremy Stashewsky <jstash+cpan at gmail.com>

CC0 1.0 Universal
    To the extent possible under law, 唐鳳 has waived all copyright and
    related or neighboring rights to MooseX-Types-UniStr.

COPYRIGHT & LICENSE
    Copyright 2009 Jeremy Stashewsky Copyright 2009 Socialtext Inc., all
    rights reserved.

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

Something went wrong with that request. Please try again.