in reply to Re^2: CPAN distribution naming recommendations
in thread CPAN distribution naming recommendations
Geo::Compass::Variation works for me, though I suspect that term is more common in the nautical world.
One technical comment on your code is that it makes more sense for _calculate to return the X,Y,Z magnetic field components and leave the atan2 fiddling to mag_dec and mag_inc. (Maybe mag_dec should have an alias, mag_var.) Since someone might find an interesting use for that information, you might rename _calculate to mag_field and document it as a part of the interface.
BTW, the technical report has some test data you could use in your module tests.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: CPAN distribution naming recommendations
by stevieb (Canon) on Jun 04, 2017 at 14:44 UTC | |
by Anonymous Monk on Jun 04, 2017 at 17:30 UTC | |
by stevieb (Canon) on Jun 05, 2017 at 16:00 UTC | |
by 1nickt (Canon) on Jun 05, 2017 at 18:54 UTC | |
by stevieb (Canon) on Jun 05, 2017 at 18:59 UTC | |
by no_slogan (Deacon) on Jun 04, 2017 at 17:58 UTC | |
by Anonymous Monk on Jun 04, 2017 at 19:27 UTC |
In Section
Seekers of Perl Wisdom