KiokuDB on Windows

I wonder if anyone was able to successfully use KiokuDB on Windows. Having ActivePerl 5.12.2, I did not find it precompiled in ppm repositories. Using cpan, he stopped while testing File :: NFSLock . However, I was able to install it using notest.

The simple test below works 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") } 

Has anyone used it for something more on Windows, say using DBI? Do you think that it is stable enough / enough to be used for a small project?

Please provide at least some details of your type of use, so I have an idea that fits my plans.

+6
windows perl persistence
source share
2 answers

I have successfully used KiokuDB on windows through Strawberry perl .

I have not yet found the perl module (which is clearly not specific to Linux) that does not just work under it. I didn’t quite shy away from trying something strange, but KiokuDB, DBIx :: Class and Catalyst and all their included depots worked without problems.

0
source share

I just set the cpan force parameter and it works like a charm; and yes, it is stable enough for my applications.

+1
source share

All Articles