It appears that MongoDB::Collection::AUTOLOAD was deprecated, but no new functionality was implemented to replace it, instead just giving a misleading error message.
This patch adds the missing method and corrects the error message.
Add MongoDB::Collection::get_collection method, to replace deprecated…
… AUTOLOAD functionality
Is there a reason why you can't use the get_collection method in the Database object? It's always available via $coll->_database -- maybe it would make more sense to make that a public attribute? Then you can say $coll->database->get_collection(), which makes more sense, I think.