NAME
Geo::GPS::Data::Storage::RAM - RAM storage module for the perl-GPSData package.
SYNOPSIS
use Geo::GPS::Data::Storage::RAM;
$s = Geo::GPS::Data::Storage::RAM->new();
$waypt_types = $s->waypoint_types();
$id = $s->store_waypoint(
name=>$name,
latitude=>$lat,
longitude=>$lon,
comment=>$comm,
type_id=>$type_id,
date_collected=>$d_col,
ellipsoid=>$ell_id
);
$res = retrieve_waypoint(id=>$id);
$res = delete_waypoint(id=>$id);
$exists = exists_waypoint(id=>$id);
$id = $s->store_collection(
name=>$name,
comment=>$comm,
type_id=>$type,
date_collected=>$d_col,
waypoints=>\@waypoint_id_list
);
$res = retrieve_collection(id=>$id);
$res = delete_collection(id=>$id);
$exists = exists_collection(id=>$id);
DESCRIPTION
This is an internal module of the perl-GPSData package and should not be used directly by a program. This module implements the storage methods on RAM which is not very usefull for anything other than testing. :)
AUTHOR
Nuno Nunes, <nfmnunes@cpan.org>