Hi all,
I am planning to release a module to CPAN but don't know what to do about
the namespace issue.
The module retrieves marine weather buoy data, from multiple sources
(NOAA, CDIP). (Marine weather buoys are tethered observation stations that
record wind direction and speed, wave height and period, etc.)
Normally I would call the module Weather::Marine::BuoyData or something
like that.
But I see that there is (a) no top level Weather.pm and (b) the
only module in Weather:: is Weather::Underground, a screen-scraper that
parses wunderground.com ...
I also see that there are several weather-related modules under
Geo:: (which seems a little obscure in itself), but with no apparent
naming convention. There's:
Geo::METAR
Geo::StormTracker::*
etc., but also
Geo::Weather # screen-scraper for weather.com
Geo::WeatherNOAA # screen-scraper for nws.noaa.gov
So: Should I go with Weather::Marine::BuoyData (since Weather:: has been
created already) or Geo::Weather::Marine::BuoyData (since that's where
most wether modules are)?
(I would really like to take a broom to this area of CPAN and get
everything organized into a rational namespace hierarchy, but I guess
that's not going to happen.)
Thanks,
- nick
~~~~~~~~~~~~~~~~~~~~
Nick Tonkin {|8^)>