VERSION

Version 0.38

SUBROUTINES/METHODS

create_disc_cache

Initialise a disc-based cache using the CHI module. Supports multiple cache drivers, including BerkeleyDB, DBI, and Redis.

create_memory_cache

Initialise a memory-based cache using the CHI module. Supports multiple cache drivers, including SharedMem, Memory, and Redis.

get_params

Parse the arguments given to a function, allowing the caller to call the function in anyway that they want e.g. foo('bar'), foo(arg => 'bar'), foo({ arg => 'bar' }) all mean the same when called _get_params('arg', @_);

distance

Calculate the distance between two geographical points using latitude and longitude. Supports distance in kilometres (K), nautical miles (N), or miles.

From http://www.geodatasource.com/developers/perl FIXME: use Math::Trig