DBIx-Class-EncodeColumns

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
        __PACKAGE__->load_components(qw/EncodeColumns Core/);
        __PACKAGE__->decode_columns('latin-1');
        __PACKAGE__->encode_columns('utf-8');
 
DESCRIPTION
    This module allows you to handle column encodings
 
METHODS
  decode_columns($encoding)
    Use this function to set the default encoding of all your columns. The
    data of all columns will be decoded to internal encoding of perl.
 
  encode_columns($encoding)
    Before returning the data form a column, it will be encoded using this
    encoding type.
 
EXTENDED METHODS
  get_column
  get_columns
  store_column
AUTHOR

lib/DBIx/Class/EncodeColumns.pm  view on Meta::CPAN

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
=head1 DESCRIPTION
 
This module allows you to handle column encodings
 
=head1 METHODS
 
=head2 decode_columns($encoding)
 
Use this function to set the default encoding of all your columns.
The data of all columns will be decoded to internal encoding of perl.
 
=cut
 
=head2 encode_columns($encoding)
 
Before returning the data form a column, it will be encoded using this
encoding type.
 
=cut



( run in 0.332 second using v1.01-cache-2.11-cpan-bf8d7bb2d05 )