Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This gives me the error: Can't locate object method "deg2rad" via package "Geography::NationalGrid" at C: /Perl/site/lib/Geography/NationalGrid/IE.pm line 7.use Geography::NationalGrid::IE; my $point1 = new Geography::NationalGrid::IE( GridReference => 'M 345132', ); my $point2 = new Geography::NationalGrid::IE( Latitude => 53.8, Longitude => -7.5 ); print "Point 1 is " . $point->latitude . " degrees north\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Package mismatch
by JavaFan (Canon) on Dec 29, 2010 at 18:01 UTC | |
by Anonymous Monk on Dec 29, 2010 at 18:13 UTC | |
by JavaFan (Canon) on Dec 29, 2010 at 18:39 UTC | |
|
Re: Package mismatch
by Anonyrnous Monk (Hermit) on Dec 29, 2010 at 18:12 UTC |