Net::GP...rt::http(3)
π Net::GP...rt::http π
okay so bestie, this is a page from the User Contributed Perl Documentation collection, and it's all about Net::GPSD::Report::http. That name is long but don't panic β it's giving "little Perl module that ships your position data off somewhere." π°οΈβ¨
πΈ NAME πΈ
Net::GPSD::Report::http β it hands you a perl interface to report position data. that's it, that's the whole job. π
β¨ SYNOPSIS β¨
here's the whole vibe in three lines:
use Net::GPSD::Report::http;
my $obj=Net::GPSD::Report::http->new();
my $return=$obj->send(\%data);
like. that's it. make the object, send the data. slay. π
π¦ DESCRIPTION π¦
lowkey there is nothing in here?? the description section is empty, no cap. the actual tea lives in the constructor and the methods below, so keep scrolling bestie. π«Ά
π CONSTRUCTOR π
new
my $obj=Net::GPSD::Report::http->new({url=>$url});
you call new with a hashref holding a url, and boom β you got yourself an object. main character energy fr fr. π
π METHODS π
initialize
it's a method, it's called initialize, and the page is not gonna elaborate further. that's the whole entry, bestie. π§
url
$obj->url("http://localhost/path/script.cgi");
my $url=$obj->url;
getter AND setter, iconic behaviour honestly. pass it a string and you're setting the url; call it with nothing and it hands the url right back to you. π
send
my $httpreturn=$obj->send({device=>$int,
lat=>$lat,
lon=>$lon,
dtg=>"yyyy-mm-dd 24:mm:ss.sss",
speed=>$meterspersecond,
heading=>$degrees});
this is the one that actually goes out there and does the thing. you feed it a hashref with your device, lat, lon, dtg (that's date-time-group, formatted like yyyy-mm-dd 24:mm:ss.sss), speed in meters per second, and heading in degrees β and it comes back with $httpreturn. obsessed. π₯
π LIMITATIONS π
...nothing listed here. zero limitations apparently. we love a confident queen. π (ngl though, that section is just empty.)
π BUGS π
found something broken? Email the author and log on RT. that's the entire bug policy, no elaboration, go forth. π§
π SUPPPORT π
(yes that's spelled with three P's, we're keeping it exactly as it is, don't @ me)
DavisNetworks.com supports all Perl applications including this package. π«Ά
π AUTHOR π
Michael R. Davis, reachable at qw/gpsd michaelrdavis com/ πΈ
β LICENSE β
Copyright (c) 2006 Michael R. Davis (mrdvt92)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so like, go wild, but keep the copyright notice. periodt. π
π SEE ALSO π
LWP::UserAgent
and that's the whole page bestie!! this gem was living in perl v5.42.0, dated 2025-07-25, filed under the manual name Net::GP...rt::http(3). go report some positions. mwah. πππ¦β¨
π¦ where this page comes from
- fedora 43: perl-Net-GPSD 0.39-42.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms