Apocalypse > CPAN-WWW-Top100-Retrieve-0.01 > CPAN::WWW::Top100::Retrieve::Dist

Download:
CPAN-WWW-Top100-Retrieve-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

CPAN::WWW::Top100::Retrieve::Dist - Represents a distribution listed in the Top100

SYNOPSIS ^

        #!/usr/bin/perl
        use strict; use warnings;
        use CPAN::WWW::Top100::Retrieve;

        my $top100 = CPAN::WWW::Top100::Retrieve->new;
        foreach my $dist ( @{ $top100->list( 'heavy' ) } ) {
                print "Heavy dist(" . $dist->dist . ") rank(" . $dist->rank .
                        ") author(" . $dist->author . ") score(" .
                        $dist->score . ")\n";
        }

DESCRIPTION ^

This module holds the info for a distribution listed in the Top100.

Attributes

Those attributes hold information about the distribution.

type

The type of Top100 this dist is listed on.

example: heavy

dbid

The dbid of Top100 this dist is listed on.

rank

The rank of this dist on the Top100 list.

author

The author of this dist.

dist

The distribution name.

score

The score of the distribution on the Top100 list.

If the type is: heavy

        The score is the number of downstream dependencies

If the type is: volatile, debian, downstream, meta1/2/3

        The score is the number of dependent modules

If the type is: fail

        The score is the FAIL score

AUTHOR ^

Apocalypse <apocal@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2010 by Apocalypse

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

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: