On Mon, Oct 04, 2010 at 01:35:49PM -0700, Darren Duncan wrote: > Reinier Post wrote: [...] > ># Failed test 'use Set::Relation;' > ># at t/Set_Relation_00_Compile.t line 9. > ># Tried to use 'Set::Relation'. > ># Error: Can't use an undefined value as a HASH reference at > ># /usr/lib/perl5/site_perl/5.10/namespace/autoclean.pm > > That looks more like a namespace::autoclean problem, actually. Are > you using the latest version?
Yes, I am, it says it's 0.11 and up to date. > Strictly speaking, you could remove all references to > namespace::autoclean and Set::Relation would still work, I believe; > namespace::autoclean is more of a housekeeping utility. There's > just a line each in 3 files I believe. 2 in one, 4 in all. Removing them produces another error during 'make test': t/Set_Relation_51_Database_in_Depth_Example.t .. 1/? # is_identical # restriction # projection Argument "city" isn't numeric in numeric ne (!=) at /var/cache/cpan/build/Set-Relation-0.12.7-8CX6n6/blib/lib/Set/Relation/V1.pm line 1844 > Perl 5.10.0 is also known to have some significant bugs in it; I > would use a newer version anyway if you can, 5.12.2 being the best. Thanks. I'll try that when I have time (it takes a lot of time to recompile the CPAN modules and some don't take 'yes' for an answer). I've always been puzzled by the description of relational algebra as an implementation language for relational calculus or SQL. I mostly think in algebra, it feels more natural to me. > -- Darren Duncan -- Reinier Post