NAME

Gedcom::Family - a module to manipulate Gedcom families

Version 1.09 - 12th February 2001

SYNOPSIS

use Gedcom::Family;

my @rel = $f->husband;
my @rel = $f->wife;
my @rel = $f->parents;
my $nch = $f->number_of_children;
my @rel = $f->children;
my @rel = $f->boys;
my @rel = $f->girls;

DESCRIPTION

A selection of subroutines to handle families in a gedcom file.

Derived from Gedcom::Record.

HASH MEMBERS

None.

METHODS

None yet.

Individual functions

my @rel = $f->husband;
my @rel = $f->wife;
my @rel = $f->parents;
my @rel = $f->children;
my @rel = $f->boys;
my @rel = $f->girls;

Return a list of individuals from family $f.

Each function, even those with a singular name such as husband(), returns a list of individuals holding that releation in $f.

number_of_children

my $nch = $f->number_of_children;

Return the number of children in the family, as specified or from counting.