debian man page for geo::mirror

Query: geo::mirror

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Geo::Mirror(3pm)					User Contributed Perl Documentation					  Geo::Mirror(3pm)

NAME
Geo::Mirror - Find closest Mirror
SYNOPSIS
use Geo::Mirror; my $gm = Geo::Mirror->new(mirror_file => '/path/to/mirrors.txt'); my $mirror = $gm->closest_mirror_by_country('us', $freshness); # $freshness optional, see description below my $mirror = $gm->closest_mirror_by_addr('24.24.24.24', $freshness); # $freshness optional, see description below
DESCRIPTION
This module finds the closest mirror for an IP address. It uses Geo::IP to identify the country that the IP address originated from. If the country is not represented in the mirror list, then it finds the closest country using a latitude/longitude table. The mirror file should be a space separate list of URL, Country, and mirror freshness. The mirror freshness is optional and can be used by user request a mirror with a minimum freshness.
AUTHOR
Copyright (c) 2004, MaxMind LLC, support@maxmind.com All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-08-23 Geo::Mirror(3pm)
Related Man Pages
geo::googleearth::pluggable::lookat(3pm) - debian
geo::googleearth::pluggable::networklink(3pm) - debian
geo::googleearth::pluggable::placemark(3pm) - debian
geo::googleearth::pluggable::stylemap(3pm) - debian
geo::space(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Detecting unused variables...
One instance of comparing grep and awk
My first PERL incarnation... Audio Oscillograph