CPAN::WWW::Top100::Retrieve::Utils - Various utilities for Top100 retrieval
#!/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";
This module holds the various utility functions used in the Top100 modules. Normally you wouldn't need to use this directly.
Returns the Top100 uri we use to retrieve data.
The current uri is:
return 'http://ali.as/top100/data.html';
Returns an arrayref of Top100 database types.
The current types is:
return [ qw( heavy volatile debian downstream meta1 meta2 meta3 fail ) ];
Returns an arrayref of Top100 database type IDs.
The current dbids is:
return [ qw( 1 2 3 4 5 6 7 8 ) ];
Returns the type given a dbid.
Returns the dbid given a type.
Apocalypse <apocal@cpan.org>
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.
To install CPAN::WWW::Top100::Retrieve, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::WWW::Top100::Retrieve
CPAN shell
perl -MCPAN -e shell install CPAN::WWW::Top100::Retrieve
For more information on module installation, please visit the detailed CPAN module installation guide.