in reply to Re: Reading notes in gedcom files?
in thread Reading notes in gedcom files?

Thanks to both of you.

It's leaning toward a formatting issue with the way the source program creates the Gedcom files.

I'll post again with the final outcome.

Thanks, Rich

Replies are listed 'Best First'.
Re^3: Reading notes in gedcom files?
by StarkRavingCalm (Sexton) on Apr 29, 2010 at 18:00 UTC

    To close this off, it would seem the Notes field in Gedcom files can accept many formats.

    The script below works as originally expected.

    Thanks for the help.

    #!/bin/perl -w use strict; use Gedcom; my $ged = Gedcom->new(shift); $ged->resolve_xrefs; for my $i ( $ged->individuals ) { for my $n ( $i->note ) { print "========================================\n"; print $i->name, "\n"; if (ref $n) { print $n->get_value, "\n"; } else { print "$n\n"; } #print "========================================\n"; } }