MetaCPAN::Client::Favorite - A Favorite data object
# Query favorites for a given distribution:
my $favorites = $mcpan->favorite( {
distribution => 'Moose'
} );
# Total number of matches ("how many favorites does the dist have?"):
print $favorites->total;
# Iterate over the favorite matches
while ( my $fav = $favorites->next ) { ... }
A MetaCPAN favorite entity object.
An ISO8601 datetime string like
"2016-11-19T12:41:46" indicating when the
favorite was created.
The user ID (not PAUSE ID) of the person who favorited the thing in
question.
The release that was favorited.
The PAUSE ID of the author whose release was favorited.
The distribution that was favorited.
- Sawyer X <xsawyerx@cpan.org>
- Mickey Nasriachi <mickey@cpan.org>
This software is copyright (c) 2016 by Sawyer X.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.