Look at the docs, they are quite detailed. In particular, the docs for the MongoDB::Database object show that there is a last_error method, and you can probably do this:
my $err = $database->last_error();
to get what you want.
- Luke
In reply to Re: how to capture status codes of mongodb in perl
by blindluke
in thread how to capture status codes of mongodb in perl
by praveenchappa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |