6

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.

bvr
  • 9,687
  • 22
  • 28
  • 1
    Any chance of using Strawberry instead of ActiveState? Most module installation problems just go away if you do : ) – Hugmeir Mar 11 '11 at 05:06
  • @Hugmeir - I have far too many applications running on AS, so the retest on Strawberry would be costly/problematic. And I don't have installation problems, it does install and its test suite runs without a failure. Notest has to be used because of failing test in one downstream dependency. – bvr Mar 11 '11 at 07:33

2 Answers2

1

I have just installed with cpan force option, and it works like a charm; and yes, it's stable enough for my applications

Miguel Prz
  • 13,718
  • 29
  • 42
  • Thanks for your answer. Could you please provide a little more details on this. What backend are you using, what perl version, any experience/problems encountered? – bvr Mar 01 '11 at 08:39
0

I've been successfully using KiokuDB on windows via Strawberry perl.

I've yet to find a perl module (that isn't obviously linux specific) that doesn't Just Work under it. I've not exactly gone out of my way to try odd things, but KiokuDB, DBIx::Class and Catalyst and all their included deps worked without trouble.

Ash Berlin-Taylor
  • 3,879
  • 29
  • 34
  • Thanks for your answer. I am using KiokuDB for one smaller project these days and it works well for me, too. These two answers also support my experience. – bvr May 19 '11 at 15:34