1CPANPLUS::Module::AuthoUrs(e3r)Contributed Perl DocumentCaPtAiNoPnLUS::Module::Author(3)
2
3
4

NAME

6       CPANPLUS::Module::Author
7

SYNOPSIS

9           my $author = CPANPLUS::Module::Author->new(
10                           author  => 'Jack Ashton',
11                           cpanid  => 'JACKASH',
12                           _id     => INTERNALS_OBJECT_ID,
13                       );
14
15           $author->cpanid;
16           $author->author;
17           $author->email;
18
19           @dists  = $author->distributions;
20           @mods   = $author->modules;
21
22           @accessors = CPANPLUS::Module::Author->accessors;
23

DESCRIPTION

25       "CPANPLUS::Module::Author" creates objects from the information in the
26       source files. These can then be used to query on.
27
28       These objects should only be created internally. For "fake" objects,
29       there's the "CPANPLUS::Module::Author::Fake" class.
30

ACCESSORS

32       An objects of this class has the following accessors:
33
34       author
35           Name of the author.
36
37       cpanid
38           The CPAN id of the author.
39
40       email
41           The email address of the author, which defaults to '' if not pro‐
42           vided.
43
44       parent
45           The "CPANPLUS::Internals::Object" that spawned this module object.
46

METHODS

48       $auth = CPANPLUS::Module::Author->new( author => AUTHOR_NAME, cpanid =>
49       CPAN_ID, _id => INTERNALS_ID [, email => AUTHOR_EMAIL] )
50
51       This method returns a "CPANPLUS::Module::Author" object, based on the
52       given parameters.
53
54       Returns false on failure.
55
56       @mod_objs = $auth->modules()
57
58       Return a list of module objects this author has released.
59
60       @dists = $auth->distributions()
61
62       Returns a list of module objects representing all the distributions
63       this author has released.
64

CLASS METHODS

66       accessors ()
67
68       Returns a list of all accessor methods to the object
69
70
71
72perl v5.8.8                       2007-03-31       CPANPLUS::Module::Author(3)
Impressum