[Omaha.pm] lines2perl: partition.pl

Jay Hannah jay at jays.net
Sun Apr 30 15:32:46 PDT 2006


Paul Johnson wrote:
>> relation.pl: Fast, but lied to me twice, reporting no relation between me 
>> and 2 of my relatives.
>> relation.ll: Fast, and identified relations that the Perl version had me 
>> convinced didn't exist.
> 
> This is the bit that mainly concerns me since, as you surmise, it
> probably indicates a bug in either lines2perl or Gedcom::LifeLines.  It
> might take a bit of work to track down though.
> 
> Of course, since having written Gedcom.pm I have also written
> Devel::Cover, so the proper approach here would be to increase the
> coverage of the test suite, and in so doing the bug should become
> apparent.

I'll try to isolate a test set demonstrating the problem one of these weekends soonish. Devel::Cover is pretty hardcore -- I'm not versed in mapping programming languages. I'm a Test::More guy, myself. :)

> So far, I have just changed lines2perl and Gedcom::LifeLines.  There
> seems little value in adding the automatically generated files to the
> distribution, but hand translated files, like the one I posted before,
> would be useful, both because of their utility and as examples of using
> Gedcom.pm.  Someone recently suggested and examples directory be added
> to the distribution and I think that is a good idea.  I'll add the
> partition translation to start that off.

Yes, the more examples the better! I think search.cpan.org (for one) will tear open your CPAN distribution and HTML index all the POD it can find inside, so the examples will end up with their own homepages there. Exposure is good.

> By the way, all my posts are rejected from Omaha.pm, so I hope the folks
> there don't mind a somewhat one sided discussion.

I've been posting them for you. Our very sleepy list needs the traffic. :)

http://mail.pm.org/pipermail/omaha-pm/2006-April/thread.html

Thanks,

j



More information about the Omaha-pm mailing list