1Net::GPSD::Report::httpU(s3e)r Contributed Perl DocumentaNteito:n:GPSD::Report::http(3)
2
3
4
6 Net::GPSD::Report::http - Provides a perl interface to report position
7 data.
8
10 use Net::GPSD::Report::http;
11 my $obj=Net::GPSD::Report::http->new();
12 my $return=$obj->send(\%data);
13
16 new
17 my $obj=Net::GPSD::Report::http->new({url=>$url});
18
20 initialize
21 url
22 $obj->url("http://localhost/path/script.cgi");
23 my $url=$obj->url;
24
25 send
26 my $httpreturn=$obj->send({device=>$int,
27 lat=>$lat,
28 lon=>$lon,
29 dtg=>"yyyy-mm-dd 24:mm:ss.sss",
30 speed=>$meterspersecond,
31 heading=>$degrees});
32
35 Email the author and log on RT.
36
38 DavisNetworks.com supports all Perl applications including this
39 package.
40
42 Michael R. Davis, qw/gpsd michaelrdavis com/
43
45 Copyright (c) 2006 Michael R. Davis (mrdvt92)
46
47 This library is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself.
49
51 LWP::UserAgent
52
53
54
55perl v5.38.0 2023-07-21 Net::GPSD::Report::http(3)