- CLASS METHODS
my $author = CPANPLUS::Author->new( author => 'Jack Ashton', cpanid => 'JACKASH', _id => INTERNALS_OBJECT_ID, ); $author->cpanid; $author->author; $author->email; @dists = $author->distributions; @mods = $author->modules; @accessors = CPANPLUS::Author->accessors;
CPANPLUS::Author creates objects from the information in the source files. These can then be used to query on.
These objects should only be created internally. For
fake objects, there's the
An objects of this class has the following accessors:
Name of the author.
The CPAN id of the author.
The email address of the author, which defaults to '' if not provided.
CPANPLUS::Internals::Objectthat spawned this module object.
$auth = CPANPLUS::Author->new( author => AUTHOR_NAME, cpanid => CPAN_ID, _id => INTERNALS_ID [, email => AUTHOR_EMAIL] )
This method returns a
CPANPLUS::Author object, based on the given parameters.
Returns false on failure.
Return a list of module objects this author has released.
Returns a list of module objects representing all the distributions this author has released.
Returns a list of all accessor methods to the object