logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::GPSD3::Return::VERSION - Net::GPSD3 Return VERSION Object

Author

         Michael R. Davis
         CPAN ID: MRDVT
         STOP, LLC
         domain=>michaelrdavis,tld=>com,account=>perl
         http://www.stopllc.com/

Bugs

       Log on RT and Send to gpsd-dev email list

Description

       Provides a Perl object interface to the VERSION object returned by the GPSD daemon.

Methods

class
       Returns the object class

   string
       Returns the JSON string

   parent
       Return the parent Net::GPSD3 object

   releaserev,revisionproto,protocolproto_majorproto_minor

Name

       Net::GPSD3::Return::VERSION - Net::GPSD3 Return VERSION Object

See Also

       Net::GPSD3, Net::GPSD3::Return::Unknown

perl v5.34.0                                       2022-06-16                   Net::GPSD3::Return::VERSION(3pm)

Support

       DavisNetworks.com supports all Perl applications including this package.

       Try gpsd-dev email list

Synopsis

         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

See Also