Пакет perl-MongoDB: Информация
Исходный пакет: perl-MongoDB
Версия: 0.40-alt1
Собран: 1 января 2011 г. 2:58
Категория: Разработка/Perl
Сообщить об ошибке в пакетеДомашняя страница: http://www.cpan.org
Лицензия: Artistic
О пакете: Mongo Driver for Perl
Описание:
MongoDB is a database access module. MongoDB (the database) store all strings as UTF-8. Non-UTF-8 strings will be forcibly converted to UTF-8. To convert something from another encoding to UTF-8, you can use the Encode manpage: use Encode; my $name = decode('cp932', "\x90\xbc\x96\xec\x81\x40\x91\xbe\x98\x59"); my $id = $coll->insert( { name => $name, } ); my $object = $coll->find_one( { name => $name } ); Thanks to taronishino for this example.
Сопровождающий: Denis Smirnov