Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Currently I'm working on a class to represent a specific USB attached device, with methods and properties to access it's data.

It's the first time that I'm working on a module I may publish via CPAN, and I feel uncertain how to name it properly.

The device is a weather station from Honeywell, model Te923. I'm thinking about naming the main class

Device::USB:Honeywell::Te923

What's your advice?

  • Comment on Which namespace to use for a module handling a specific USB device?
  • Download Code

Replies are listed 'Best First'.
Re: Which namespace to use for a module handling a specific USB device?
by Corion (Patriarch) on Apr 09, 2013 at 12:05 UTC

    Is the "USB" part material to the module?

    Personally, I would aim for Device::Honeywell::TE923 or even Weather::Honeywell::TE923. Maybe also mention that (at least after what Google suggests to me) this is a similar build of the Meade TE923 / TE924.