I have released Geo::Compass::Variation. If it isn't available yet, it will be shortly. Thanks to everyone who provided their input and thoughts into the naming, and the reasons/details surrounding the suggestions.
I made the following changes:
- added an alias of mag_var() to mag_dec()
- renamed _calculate() to mag_field()
- mag_field() now returns the $X, $Y, $Z information instead of the calculated information
- mag_dec() and mag_inc() now perform their own calculations on the data returned by mag_field()
I have not yet incorporated the test data into the test suite, but that'll come soon enough.