Subject: | mistake in destroy |
session->destroy fails because $_[0] is undefined. $_[0] should be replaced with $self on line
185:
sub destroy {
my $self = shift;
$COLL->remove({ _id => MongoDB::OID->new(value => $self->id) }, { safe => 1, just_one
=> 1 })
|| carp "Failed removing session from MongoDB database: ".$DB->last_error;
}