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

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

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source   Latest Release: CPAN-WWW-Top100-Retrieve-1.001

NAME ^

CPAN::WWW::Top100::Retrieve::Utils - Various utilities for Top100 retrieval

SYNOPSIS ^

        #!/usr/bin/perl
        use strict; use warnings;
        use CPAN::WWW::Top100::Retrieve::Utils qw( default_top100_uri );
        print "The default Top100 uri is: " . default_top100_uri() . "\n";

DESCRIPTION ^

This module holds the various utility functions used in the Top100 modules. Normally you wouldn't need to use this directly.

Methods

default_top100_uri

Returns the Top100 uri we use to retrieve data.

The current uri is:

        return 'http://ali.as/top100/data.html';

types

Returns an arrayref of Top100 database types.

The current types is:

        return [ qw( heavy volatile debian downstream meta1 meta2 meta3 fail ) ];

dbids

Returns an arrayref of Top100 database type IDs.

The current dbids is:

        return [ qw( 1 2 3 4 5 6 7 8 ) ];

dbid2type

Returns the type given a dbid.

type2dbid

Returns the dbid given a type.

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: