MooseX::Types::UniStr - Moose type definitions for Unicode strings
use Moose; use MooseX::Types::UniStr; has 'name' => ( is => 'rw', isa => 'UniStr', coerce => 1 );
This module lets you specify attributes as Unicode strings.
Coercions provided:
Turns on the Unicode bit using Encode::decode_utf8($_).
Encode::decode_utf8($_)
If the Unicode bit is already on, the coercion is a no-op.
No-op; the Unicode bit is left on.
唐鳳 <cpan@audreyt.org>
Jeremy Stashewsky <jstash+cpan at gmail.com>
To the extent possible under law, 唐鳳 has waived all copyright and related or neighboring rights to MooseX-Types-UniStr.
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.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '唐鳳'. Assuming UTF-8
To install MooseX::Types::UniStr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types::UniStr
CPAN shell
perl -MCPAN -e shell install MooseX::Types::UniStr
For more information on module installation, please visit the detailed CPAN module installation guide.