Parse::CPAN::Ratings::Rating - Parse CPAN ratings
my $ratings = Parse::CPAN::Ratings->new( filename => 't/all_ratings_100.csv' ); my $rating = $ratings->rating('Archive-Zip'); print $rating->distribution . "\n"; # Archive-Zip print $rating->rating . "\n"; # 3.8 print $rating->review_count . "\n"; # 6
This module represents a CPAN rating.
Parse::CPAN::Ratings.
Leon Brocard <acme@astray.com>.
Copyright (C) 2009, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
To install Parse::CPAN::Ratings, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::CPAN::Ratings
CPAN shell
perl -MCPAN -e shell install Parse::CPAN::Ratings
For more information on module installation, please visit the detailed CPAN module installation guide.