program with gedcom.pm help

[email protected] (Nate Fuhriman)
Newsgroups perl.gedcom
Message-ID <[email protected]>
I am using gedcom.pm to create a simple gedcom editing program. it's
basically a thin layer to allow a user access to gedcom files. I am having some
problems though and was wondering if anybody out there could help.

how do I automatically find out if I can have multiple items. IE I can have
many FAMS tags but only one SEX tag. I have tried using $record->max but
that always fails as an invalid call.

how do I properly link external documents to SOUR. I have a gedcom file that
was created with PAF that shows
1   OBJE hello
2     FORM png
2     FILE page1.png
2     NOTE some description
but gedcom.pm says that form, file and note are not valid tags for obje. is
there a different way? sample code maybe?

how do I setup the CONT tag? if I add a note it just goes on a single line.
This probably leads to another point of confusion I have. It looks like some
tags (NOTE,PLAC) allow data to be put to them and have sub tags. is there a
way to automatically recognize this?

Thanks in advance.
Nate

FYI once I have the program working I'm more than happy to share. :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.