DBIx::Encoding - Doing encode/decode in the character code which you appointed in an attribute.
use DBIx::Encoding; my @dsn = ( 'dbi:mysql:host=localhost;database=mysql;mysql_socket=/tmp/mysql.sock;', 'root', '', { RootClass => 'DBIx::Encoding', encoding => 'utf8', }, ); my $dbh = DBI->connect(@dsn) or die;
DBIx::Encoding is encode/decode in the charset which you appointed in an attribute. but, this module does not yet support blob. I am going to support it in a future version.
Tatsuro Hisamori <myfinder@cpan.org>
DBI
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBIx::Encoding, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Encoding
CPAN shell
perl -MCPAN -e shell install DBIx::Encoding
For more information on module installation, please visit the detailed CPAN module installation guide.