http://qs321.pair.com?node_id=1106662


in reply to error catching in mongodb and perl

Hi there,

From the docs:

NOTE: MongoDB::Connection is DEPRECATED as of version 0.502.0 of the MongoDB CPAN distribution. It is no longer maintained and will be removed in a future version. Use MongoDB::MongoClient instead.

But having looked a little closer, the MongoDB::Tutorial is still using the Connection object rather than MongoClient. And doesn't show any error checking...