logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Attributes

date
       An ISO8601 datetime string like "2016-11-19T12:41:46" indicating when the favorite was created.

   user
       The user ID (not PAUSE ID) of the person who favorited the thing in question.

   release
       The release that was favorited.

   id
       The favorite ID.

   author
       The PAUSE ID of the author whose release was favorited.

   distribution
       The distribution that was favorited.

Authors

       •   Sawyer X <xsawyerx@cpan.org>

       •   Mickey Nasriachi <mickey@cpan.org>

Description

       A MetaCPAN favorite entity object.

Name

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

Synopsis

           # 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 ) { ... }

Version

       version 2.033000

See Also