Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 exploiting the Monastery: (4)
As of 2014-09-19 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls