NAME

Genealogy::Obituary::Lookup - Lookup an obituary

VERSION

Version 0.19

SYNOPSIS

Looks up obituaries

use Genealogy::Obituary::Lookup;
my $info = Genealogy::Obituary::Lookup->new();
# ...

SUBROUTINES/METHODS

new

Creates a Genealogy::Obituary::Lookup object.

my $obits = Genealogy::Obituary::Lookup->new();

Accepts the following optional arguments:

  • cache - Passed to Database::Abstraction

  • config_file

    Points to a configuration file which contains the parameters to new(). The file can be in any common format including YAML, XML, and INI. This allows the parameters to be set at run time.

  • directory

    The directory containing the file obituaries.sql. If only one argument is given to new(), it is taken to be directory.

  • logger - Passed to Database::Abstraction

Searches the database.

# Returns an array of hashrefs
my @smiths = $obits->search(last => 'Smith');	# You must at least define the last name to search for

print $smiths[0]->{'first'}, "\n";

Supports two return modes:

  • List context

    Returns an array of hash references.

  • Scalar context

    Returns a single hash reference, or undef if there is no match.

AUTHOR

Nigel Horne, <njh at bandsman.co.uk>

BUGS

Ancestry has removed the archives. The first 18 pages are on Wayback machine, but the rest is lost.

SEE ALSO

Database::Abstraction

SUPPORT

This module is provided as-is without any warranty.

You can find documentation for this module with the perldoc command.

perldoc Genealogy::Obituary::Lookup

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2020-2025 Nigel Horne.

This program is released under the following licence: GPL2