MongoDB - A Mongo Driver for Perl
version 0.24
use MongoDB; my $connection = MongoDB::Connection->new(host => 'localhost', port => 27017); my $database = $connection->get_database('foo'); my $collection = $database->get_collection('bar'); my $id = $collection->insert({ some => 'data' }); my $data = $collection->find_one({ _id => $id });
Florian Ragwitz <rafl@debian.org> Kristina Chodorow <kristina@mongodb.org>
This software is Copyright (c) 2009 by 10Gen.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install MongoDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MongoDB
CPAN shell
perl -MCPAN -e shell install MongoDB
For more information on module installation, please visit the detailed CPAN module installation guide.