NAME
Geo::GPS::Data::Storage - Generic storage mechanism manager for the perl-GPSData package.
SYNOPSIS
use Geo::GPS::Data::Storage;
my %href = (
storage => 'MySQL',
storage_params => {
database => 'gpsdata',
host => 'localhost',
username => 'gpsuser',
password => 'mypasswd',
}
);
my $store_object = Geo::GPS::Data::Storage->new([\%href]);
DESCRIPTION
This class acts as a sort of multiplexer, choosing which storage class to instantiate based on the parameters given and returning an object of the right class.
AUTHOR
Nuno Nunes, <nfmnunes@cpan.org>