get_individual
The documentation says:
get_individual
my $me = $ged->get_individual("Paul Johnson");
Return a list of all individuals matching the specified name.
However:
1: The sample code is assigning a scalar not a list; 2: If I search a name which I know matches more than one person, I only get one returned value even in a list context.
A couple of lines later in the docs:
In scalar context return the first match found.
I agree that the docs could be more clear here, but something like
my @indis = $ged->get_individual("Queen Elizabeth");
should be returning all the matches found according to matching methods in the docs. If this is not the case could you please provide a code snippet and gedcom file to reproduce the problem?
Thanks for the report!
The code snippet is around line 1011 of https://github.com/nigelhorne/gedcom.
The gedcom file is very large and I don't wish to upload to github as it contains personal information. Can I put it on dropbox?
Yes, please.
Did you manage to get this all worked out, or is there still a problem to be looked into?