Gedcom::Grammar - a class to manipulate Gedcom grammars
Version 1.01 - 27th April 1999
use Gedcom::Grammar; my $structures = $grammar->structures() my @children = $grammar->valid_children($structures)
A selection of subroutines to handle the grammar of a gedcom file.
Derived from Gedcom::Item.
Some of the more important hash members are:
The name of the grammar structure.
my $structures = $grammar->structures()
Return a reference to a hash mapping the names of all child structures to the grammar objects.
my @children = $grammar->valid_children($structures)
Return an array of all the valid children of the grammar item.
To install Gedcom, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gedcom
CPAN shell
perl -MCPAN -e shell install Gedcom
For more information on module installation, please visit the detailed CPAN module installation guide.