I wonder if anybody has been able to successfully use KiokuDB on Windows. Having ActivePerl 5.12.2, I did not find it pre-compiled in ppm repositories. Using cpan, it stopped during testing File::NFSLock. I was able to install it with notest, though.
Simple test below seems to work as documented:
package Person;
use Moose;
has ['name', 'age'] => (is => 'ro');
package main;
use Data::Dump;
use KiokuDB;
my $dir = KiokuDB->connect("hash");
{
my $scope = $dir->new_scope;
my $obj = Person->new(name => 'Joe', age => 34);
my $data_id = $dir->store($obj);
warn $data_id; # 6702A424-6BF6-1014-B0F5-EC4CE5BB15D7
my $got = $dir->lookup($data_id);
dd $got; # bless({ age => 34, name => "Joe" }, "Person")
}
Anyone used it for something larger on Windows, say with DBI backend? Do you think it is stable/usable enough to use for some smaller project?
Please provide at least some details of your kind of usage, so I have an idea that matches my plans.
I have just installed with cpan force option, and it works like a charm; and yes, it's stable enough for my applications
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With