Subject: | Typo |
Date: | Sat, 24 Sep 2011 07:32:25 -0400 |
To: | bug-Geo-Coordinates-DecimalDegrees [...] rt.cpan.org |
From: | Tim Heaney <theaney [...] gmail.com> |
In the synopsis for Geo::Coordinates::DecimalDegrees, the dollar sign
is missing on $degrees for the first two examples. That is,
(degrees, $minutes, $seconds, $sign) = decimal2dms($decimal_degrees);
(degrees, $minutes, $sign) = decimal2dm($decimal_degrees);
should be
($degrees, $minutes, $seconds, $sign) = decimal2dms($decimal_degrees);
($degrees, $minutes, $sign) = decimal2dm($decimal_degrees);
or better yet
my($degrees, $minutes, $seconds, $sign) = decimal2dms($decimal_degrees);
my($degrees, $minutes, $sign) = decimal2dm($decimal_degrees);