MongoX::Context - Implements DSL interface,context container.
version 0.002
use MongoX::Context; MongoX::Context::add_connection host => 'mongodb:://127.0.0.1'; MongoX::Context::use_connection; MongoX::Context::use_db 'test'; MongoX::Context::reset; MongoX::Context::boot host => 'mongodb://127.0.0.1',db => 'test2'; my $col2 = MongoX::Context::context_db->get_collection('foo2');
MongoX::Context implements the DSL syntax, track and hold internal MongoDB related objects.
Pan Fan(nightsailer) <nightsailer at gmail dot com>
This software is copyright (c) 2010 by Pan Fan(nightsailer).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MongoX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MongoX
CPAN shell
perl -MCPAN -e shell install MongoX
For more information on module installation, please visit the detailed CPAN module installation guide.