Léon Brocard > Parse-CPAN-Ratings-0.33 > Parse::CPAN::Ratings::Rating

Download:
Parse-CPAN-Ratings-0.33.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Parse::CPAN::Ratings::Rating - Parse CPAN ratings

SYNOPSIS ^

  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

DESCRIPTION ^

This module represents a CPAN rating.

SEE ALSO ^

Parse::CPAN::Ratings.

AUTHOR ^

Leon Brocard <acme@astray.com>.

COPYRIGHT ^

Copyright (C) 2009, Leon Brocard

LICENSE ^

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.

syntax highlighting: