Skip to content

Commit

Permalink
Ignore entries that just say "Retired" as their occupation
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 27, 2023
1 parent 60c9420 commit bb4cc6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -10491,6 +10491,10 @@ sub get_all_occupations
while($occupations[0] && ($occupations[0] =~ /Unpaid domestic duties/i)) {
shift @occupations;
}
while($occupations[0] && ($occupations[0] eq 'Retired')) {
shift @occupations;
}

while(scalar(@occupations) > 1) {
if(($occupations[0] =~ /^labou?rer/i) && ($occupations[1] =~ /^labou?rer/i)) {
shift @occupations;
Expand Down

0 comments on commit bb4cc6d

Please sign in to comment.