Subject: | Can't locate object method "set_max_readers" via package "LMDB::Env" |
at LMDB_File.pm line 78
Deleting the "_" between max and readers seems to resolve this problem.
Deleting the "_" between max and readers seems to resolve this problem.
Subject: | lmdb.pl |
#!/usr/bin/env perl
# FILENAME: lmdb.pl
# CREATED: 09/12/14 18:04:17 by Kent Fredric (kentnl) <kentfredric@gmail.com>
# ABSTRACT: max_readers
use strict;
use warnings;
use utf8;
use LMDB_File;
use Path::Tiny;
my $env = LMDB::Env->new(Path::Tiny->tempdir, { maxreaders => 1 });