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

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

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.001   Source  

NAME ^

CPAN::WWW::Top100::Retrieve::Utils - Provides util functions

VERSION ^

  This document describes v1.001 of CPAN::WWW::Top100::Retrieve::Utils - released November 06, 2014 as part of CPAN-WWW-Top100-Retrieve.

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.

SEE ALSO ^

Please see those modules/websites for more information related to this module.

AUTHOR ^

Apocalypse <APOCAL@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Apocalypse.

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

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

DISCLAIMER OF WARRANTY ^

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

syntax highlighting: