Skip Menu |

This queue is for tickets about the Geo-Point CPAN distribution.

Report information
The Basics
Id: 27688
Status: resolved
Priority: 0/
Queue: Geo-Point

People
Owner: Nobody in particular
Requestors: nomad [...] null.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Missing "use Math::Trig.." in Geo::Shape
Date: Thu, 21 Jun 2007 20:46:26 +0200 (CEST)
To: bug-Geo-Point [...] rt.cpan.org
From: Mark Lawrence <nomad [...] null.net>
Geo::Point VERSION 0.06 When attempting to use the "distance" method of Geo::Point I get the following error: Undefined subroutine &Geo::Shape::deg2rad called at /usr/local/share/perl/5.8.8/Geo/Shape.pm line 71. Missing a "use Math::Trig qw(deg2rad);" in Geo::Shape? Cheers, Mark. -- Mark Lawrence
and I need to add the dependency as well. Apparently, no-one used the distance() method yet. I think it is a direct untested copy from an other module or the Geo::Distance man-page. Thanks again.