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.
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:
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.