Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Which namespace to use for a module handling a specific USB device?

by Anonymous Monk
on Apr 09, 2013 at 12:02 UTC ( #1027715=perlquestion: print w/ replies, xml ) Need Help??
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
Re: Which namespace to use for a module handling a specific USB device?
by Corion (Pope) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1027715]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-12-22 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls