Scott Penrose > Device-ParallelPort-JayCar-0.04 > Device::ParallelPort::JayCarXXX

Download:
Device-ParallelPort-JayCar-0.04.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Device::ParallelPort::JayCarXXX - Jaycar controlling device.

XXX This is all wrong - need to update...

SYNOPSIS ^

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.

DESCRIPTION ^

To come.

NOTE ON NAMING ^

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.

NOTE ON INHERITENCE ^

Should examples such

QUESTIONS ^

How to handle errors, when writting to the port?

COPYRIGHT ^

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.

AUTHOR ^

Scott Penrose scottp@dd.com.au, http://linux.dd.com.au/

SEE ALSO ^

Device::ParallelPort

syntax highlighting: