The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

BibTeX::Author - Contains a single author for a BibTeX document.

VERSION

Version 0.01

SYNOPSIS

This class ist a wrapper for a single BibTeX author. It is usually created by a BibTeX::Parser.

    use BibTeX::Parser::Author;

    my $entry = BibTeX::Parser::Author->new($full_name);
    
    my $firstname = $author->first;
    my $von       = $author->von;
    my $last      = $author->last;
    my $jr        = $author->jr;

    # or ...
    
    my ($first, $von, $last, $jr) = BibTeX::Author->split($fullname);

FUNCTIONS

new

Create new author object. Expects full name as parameter.

first

Set or get first name(s).

von

Set or get 'von' part of name.

last

Set or get last name(s).

jr

Set or get 'jr' part of name.

split

Split name into (firstname, von part, last name, jr part). Returns array with four strings, some of them possibliy empty.

to_string

Return string representation of the name.

AUTHOR

Gerhard Gossen, <gerhard.gossen at googlemail.com>

BUGS

Please report any bugs or feature requests to bug-bibtex-entry at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=BibTeX-Parser. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

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

    perldoc BibTeX::Parser

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Gerhard Gossen, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.