suse man page for ip::country::medium

Query: ip::country::medium

OS: suse

Section: 3

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

IP::Country::Medium(3)					User Contributed Perl Documentation				    IP::Country::Medium(3)

NAME
IP::Country::Medium - cached lookup of country codes by IP address and domain name
SYNOPSIS
use IP::Country::Medium;
DESCRIPTION
See documentation for IP::Country. In addition, IP::Country::Medium objects have a cache() method, which controls whether hostname->cc lookups are cached (on by default). $ic->cache(BOOLEAN) By default, the module caches results of country-code lookups. This feature can be switched off by setting cache to a false value (zero, empty string or undef), and can be switched on again by setting cache to a true value (anything which isn't false). $ic->cache(0); # clears and disables cache $ic->cache(1); # enables the cache The cache is formed at the class level, so any change in caching in one object will affect all objectcs of this class. Turning off the cache also clears the cache. perl v5.12.1 2007-02-02 IP::Country::Medium(3)
Related Man Pages
ip::country(3) - mojave
ip::country::maxmind(3) - suse
ip::country(3) - osx
ip::country::maxmind(3) - osx
ppi::cache(3) - centos
Similar Topics in the Unix Linux Community
Migrating to UNIX
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure
Tar Command
A (ksh) Library For and From UNIX.com