1MetaCPAN::Client::FavorUisteer(3C)ontributed Perl DocumeMnettaatCiPoAnN::Client::Favorite(3)
2
3
4

NAME

6       MetaCPAN::Client::Favorite - A Favorite data object
7

VERSION

9       version 2.028000
10

SYNOPSIS

12           # Query favorites for a given distribution:
13
14           my $favorites = $mcpan->favorite( {
15               distribution => 'Moose'
16           } );
17
18
19           # Total number of matches ("how many favorites does the dist have?"):
20
21           print $favorites->total;
22
23
24           # Iterate over the favorite matches
25
26           while ( my $fav = $favorites->next ) { ... }
27

DESCRIPTION

29       A MetaCPAN favorite entity object.
30

ATTRIBUTES

32   date
33       An ISO8601 datetime string like "2016-11-19T12:41:46" indicating when
34       the favorite was created.
35
36   user
37       The user ID (not PAUSE ID) of the person who favorited the thing in
38       question.
39
40   release
41       The release that was favorited.
42
43   id
44       The favorite ID.
45
46   author
47       The PAUSE ID of the author whose release was favorited.
48
49   distribution
50       The distribution that was favorited.
51

AUTHORS

53       ·   Sawyer X <xsawyerx@cpan.org>
54
55       ·   Mickey Nasriachi <mickey@cpan.org>
56
58       This software is copyright (c) 2016 by Sawyer X.
59
60       This is free software; you can redistribute it and/or modify it under
61       the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.32.0                      2020-08-24     MetaCPAN::Client::Favorite(3)
Impressum