BibTeX::Author - Contains a single author for a BibTeX document.
version 0.4
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);
Create new author object. Expects full name as parameter.
Set or get first name(s).
Set or get 'von' part of name.
Set or get last name(s).
Set or get 'jr' part of name.
Split name into (firstname, von part, last name, jr part). Returns array with four strings, some of them possibly empty.
Return string representation of the name.
To install BibTeX::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BibTeX::Parser
CPAN shell
perl -MCPAN -e shell install BibTeX::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.