pjcj/Gedcom.pm

Biological vs. adoptive parents

nigelhorne opened this issue · 1 comments

Is it possible to find out which element in this array is biological, and which adoptive?

my @fathers = $person->father();

It works fine - the array contains both men, but I can't work out how to determine which is which.

pjcj commented

I think you will need to access the PEDI tag via the CHILD_TO_FAMILY_LINK. I don't have any code to do that at the moment, but it seems like it might be a useful addition. I'll have a think about how it might be done.