vhtest.pl untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl -w
2 #
3 #Convert V + H to latlong in perl
4 #
5 #Copyright (C) 2004 Paul Timmins, All rights reserved.
6 #This program is free software; you can redistribute it and/or
7 #modify it under the same terms as Perl itself.
8 #
9 #The coordinates given should correspond to PNTCMIMN, in Downtown Pontiac, MI, USA.
10 #
11  
12 use strict;
13 use Geo::Coordinates::VandH;
14 my $lat;
15 my $lon;
16 my $vhobj = new Geo::Coordinates::VandH;
17 ($lat,$lon) = $vhobj->vh2ll(5498,2895);
18 printf "%lf,%lf\n",$lat, $lon;
19