Custom record label

[email protected] ("Tobias Sahlman")
Newsgroups perl.gedcom
Message-ID <[email protected]>
Hi folks,

I'm looking for a way to change the label of a family record or an 
individual record to an identifer that I've chosen myself. For example, I 
would like to create a new individual by doing:

$record = $ged->add_individual();

And then set the label of the individual to e.g. "@I5144235@", rather than a 
running number automatically assigned by the Gedcom module. Is it possible?

I would like to build a gedcom file for a population of  banded birds, and 
it would be very convenient to use the individual band number of each bird 
as a label. The birds are already in a database, and I'm using perl to read 
a textfile export from the database with all the birds and their "families". 
I'm new to both gedcom and perl, and hopefully this question doesn't sound 
too stupid.

Many thanks in advance,

Tobias Sahlman
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.