Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: CPAN distribution naming recommendations

by morgon (Priest)
on Jun 03, 2017 at 01:18 UTC ( [id://1192032]=note: print w/replies, xml ) Need Help??


in reply to CPAN distribution naming recommendations

For my taste "Magnetic" is bad top-level name as it is not generic enough.

And you say that it also calculates inclication, so "Declination" seems to be too specific.

So I'd go with something like "Navigation::Compass" or the like (unless already taken).

  • Comment on Re: CPAN distribution naming recommendations

Replies are listed 'Best First'.
Re^2: CPAN distribution naming recommendations
by stevieb (Canon) on Jun 03, 2017 at 01:56 UTC

    I really like your thoughts here, but I personally think that Navigation::Compass is too broad...

    This module deals exclusively and deliberately with the magnetic *offsets* that don't align with the true north grid, and realistically doesn't have anything to do with a compass, less a fractional angle that deviates from what perhaps a different module may provide.

    What this module does, is spits out a directional difference between true north and magnetic north (as well as inclination deviations, but I digress) that can be applied to a compass heading to ensure when traveling, no matter where you are, the direction that is output is the direction you're supposed to be heading regardless of location.

    So, a GPS software says you're to head in X.AB direction per grid north, and this software calculates the magnetic deviation from that. It would be up to the end user to combine these two numbers (addition, essentially) to understand the real magnetic direction they need to travel, which may become X.BC for example. Without the original direction (outside of this module's scope), this module doesn't do anything but produce the deviation itself.

      Geo::MagneticDeviation or Geo::Magnetic::Deviation, perhaps? Or Geo::Navigation::Magnetic(::)Deviation

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1192032]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2025-11-18 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (72 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.