|No such thing as a small change|
Namespaces and module suggestions again, OBDIIby shotgunefx (Parson)
|on Nov 23, 2005 at 01:09 UTC||Need Help??|
shotgunefx has asked for the
wisdom of the Perl Monks concerning the following question:
I'm working on a module for interfacing to my car's (OBDII - Onboard Diagnostic Port) diagnostic port. The device I'm using is an ELM323 based OBDII intepreter. Basically a serial interface to the car, which allows you to send requests to the car and retrieve data. Cars have several interfaces (ISO,VPW,CANBus), mine is targeted for ISO (though I believe the computer side is the same for most other protocols)
Something like "Device::ELM323::ISO" seems ok, but feels like OBDII should be mentioned in there somewhere.
Another thing I'm wondering about before I hit CPAN with this (and another module) is the best practice for handling example scripts.
For example, I'd like to include an example control script with the module distro, but not sure the best way to have influence the makefile. I'd like it included, but not necessarily installed anywhere outside of where the module is unzipped .
Any suggestions would be welcome.
Clarified some acronyms.
perl digital dash (in progress)