File: GPS-Point-Example.pl

package info (click to toggle)
libgps-point-perl 0.20-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 124 kB
  • sloc: perl: 310; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
use strict;
use warnings;
use GPS::Point;

=head1 NAME

GPS-Point-Example.pl - GPS-Point Simple Example

=cut

my $point=GPS::Point->new(lat=>38.894022, lon=>-77.036626);

printf "Lat: %s, Lon: %s\n", $point->latlon;