Net::gpsd3 return version object
use Net::GPSD3; my $gpsd=Net::GPSD3->new; $gpsd->poll; #Sets VERSION and DEVICES in cache my $v=$gpsd->cache->VERSION; printf "Class: %s\nRelease: %s\nRevision: %s\nProtocol: %s\n", $v->class, $v->release, $v->revision, $v->protocol;
Returns something like this.
Class: VERSION Release: 2.96~dev Revision: 2011-03-17T02:51:23 Protocol: 3.4
Provides a Perl object interface to the \s-1VERSION\s0 object returned by the \s-1GPSD\s0 daemon.
Returns the object class
Returns the \s-1JSON\s0 string
Return the parent Net::GPSD3 object
Log on \s-1RT\s0 and Send to gpsd-dev email list
DavisNetworks.com supports all Perl applications including this package.
Try gpsd-dev email list
Michael R. Davis CPAN ID: MRDVT STOP, LLC domain=>michaelrdavis,tld=>com,account=>perl http://www.stopllc.com/
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the \s-1LICENSE\s0 file included with this module.
Net::GPSD3, Net::GPSD3::Return::Unknown