View on
Ron Savage > Lingua-EN-GivenNames-1.04 > Lingua::EN::GivenNames::Database::Create



Annotate this POD

View/Report Bugs
Module Version: 1.01   Source  


Lingua::EN::GivenNames::Database::Create - An SQLite database of derivations of English given names

Synopsis ^

See "Synopsis" in Lingua::EN::GivenNames for a long synopsis.

See also "How do the scripts and modules interact to produce the data?" in Lingua::EN::GivenNames.

Description ^

Documents the methods end-users need to create/drop tables in the SQLite database, lingua.en.givennames.sqlite, which ships with this distro.

See scripts/ and scripts/

Distributions ^

This module is available as a Unix-style distro (*.tgz).

See for details.

See for help on unpacking and installing.

Constructor and initialization ^

new(...) returns an object of type Lingua::EN::GivenNames::Database::Create.

This is the class's contructor.

Usage: Lingua::EN::GivenNames::Database::Create -> new().

Methods ^

This module is a sub-class of Lingua::EN::GivenNames::Database and consequently inherits its methods.


Create these tables: forms, kinds, meanings, names, originals, ratings, sexes, sources.

Returns 0 to indicate success.


Create the $name table.


Drop all the tables.

Returns 0 to indicate success.


Drop the table called $table_name,


See "Constructor and initialization".

report($table_name, $message, $result)

For $table_name, if the result of the create or drop is an error, die with $message.

If there was no error, log a create/drop message at level debug.


For the database schema, etc, see "FAQ" in Lingua::EN::GivenNames.

References ^

See "References" in Lingua::EN::GivenNames.

Support ^

Email the author, or log a bug on RT:

Author ^

Lingua::EN::GivenNames was written by Ron Savage <> in 2012.

Home page:

Copyright ^

Australian copyright (c) 2012 Ron Savage.

        All Programs of mine are 'OSI Certified Open Source Software';
        you can redistribute them and/or modify them under the terms of
        The Artistic License, a copy of which is available at:
syntax highlighting: