Lingua::EN::Parse::PersonsName - A simple parser for english names.


NAME

Lingua::EN::Parse::PersonsName - A simple parser for english names.

Back to Top


SYNOPSIS

  use Lingua::EN::Parse::PersonsName
  my $parser = Lingua::EN::Parse::PersonsName->new("Robert Lewis Boone");
  print $parser->lname;

Back to Top


DESCRIPTION

This is a simple module for parsing string names into an object with methods that represent the parts of name.

Back to Top


METHODS

fname

fname gets/sets the given name.

$self->mname

mname gets/sets the middle name.

$self->mi

mi returns the middle initial.

$self->lname

lname gets/sets the last name.

$self->as_string

returns the full name as "fname mname lname"

Back to Top


AUTHOR

        Robert Boone
        robert@rlb3.com
        http://www.rlb3.com

Back to Top


COPYRIGHT

This program is free software licensed under the...

        The General Public License (GPL)
        Version 2, June 1991

The full text of the license can be found in the LICENSE file included with this module.

Back to Top

 Lingua::EN::Parse::PersonsName - A simple parser for english names.