Package perl-MongoDB: Information
Source package: perl-MongoDB
Version: 0.40-alt1
Build time: Jan 1, 2011, 02:58 AM
Category: Development/Perl
Report package bugHome page: http://www.cpan.org
License: Artistic
Summary: Mongo Driver for Perl
Description:
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.
Maintainer: Denis Smirnov