1DBIx::Class::UTF8ColumnUss(e3r)Contributed Perl DocumentDaBtIixo:n:Class::UTF8Columns(3)
2
3
4

NAME

6       DBIx::Class::UTF8Columns - Force UTF8 (Unicode) flag on columns
7

SYNOPSIS

9           package Artist;
10           use base 'DBIx::Class::Core';
11
12           __PACKAGE__->load_components(qw/UTF8Columns/);
13           __PACKAGE__->utf8_columns(qw/name description/);
14
15           # then belows return strings with utf8 flag
16           $artist->name;
17           $artist->get_column('description');
18

DESCRIPTION

20       This module allows you to get columns data that have utf8 (Unicode)
21       flag.
22
23   Warning
24       Note that this module overloads "store_column" in DBIx::Class::Row in a
25       way that may prevent other components overloading the same method from
26       working correctly. This component must be the last one before
27       DBIx::Class::Row (which is provided by DBIx::Class::Core). DBIx::Class
28       will detect such incorrect component order and issue an appropriate
29       warning, advising which components need to be loaded differently.
30

SEE ALSO

32       Template::Stash::ForceUTF8, DBIx::Class::UUIDColumns.
33

METHODS

35   utf8_columns

EXTENDED METHODS

37   get_column
38   get_columns
39   store_column

AUTHORS

41       See "CONTRIBUTORS" in DBIx::Class.
42

LICENSE

44       You may distribute this code under the same terms as Perl itself.
45
46
47
48perl v5.12.0                      2010-05-12       DBIx::Class::UTF8Columns(3)
Impressum