Net::GP...rt::http(3)

πŸ“¦
version 0.39 Β· 2 versions
, in fedora 43

πŸ’– 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