Device::ParallelPort::JayCarXXX - Jaycar controlling device.
XXX This is all wrong - need to update...
This is an example driver for a fairly common (in Australia anyway) parallel port controller card. It can be used for real, but has been written in an easy to read manner to allow it to be a base class for future drivers.
To come.
A note on class locations. If you are writting a general controller, eg: for a high speed neon sign controller. Then you would always write that in its own class (see CPAN for the best base class to put that in). Thats because more than likely the sign supports multiple protocols such as Parallel, RS485, USB and more. Then the propert place would be:
SomeBaseClass::MySign::drv::ParallelPort
or simular. When you write a network class that talks TCPIP only for that sign, you do not put it in the Net:: location, same for parallel port.
Should examples such
How to handle errors, when writting to the port?
Copyright (c) 2002,2004 Scott Penrose. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Scott Penrose scottp@dd.com.au, http://linux.dd.com.au/
Device::ParallelPort
To install Device::ParallelPort::JayCar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::ParallelPort::JayCar
CPAN shell
perl -MCPAN -e shell install Device::ParallelPort::JayCar
For more information on module installation, please visit the detailed CPAN module installation guide.