The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Device::ParallelPort::drv::auto - Automatically choose driver.

SYNOPSIS

        use Device::ParallelPort;
        my $pp = Device::ParallelPort->new('auto:0');

DESCRIPTION

This module should be used if you do not care what driver is used. It is very handy for writing cross platform applications in that it will autoamtically determine which parallel port driver is appropriate.

See Device::ParallelPort for full details.

DEVELOPMENT

The current nature of it requires modifications to this module to add new drivers. Longer term it would be better if it tried each driver installed on the system in turn allowing new drivers to add their own interfaces.

As such, the current version only detects between three drivers.

        * parport - If linux and has a writable /dev/parportX
        * linux - If linux and running as root (and no parport)
        * win32 - If running on windows

NOTE - You MUST have the driver mentioned above loaded on your system for this to work. They are each SEPARATELY available in CPAN.

COPYRIGHT

Copyright (c) 2002,2003,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