fx has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I have a need to be able to send data to the USB port. Details are somewhat vague at the moment as the hardware side of things is not my concern - I've just been asked to investigate Perl as a candidate for the language used.

Comments?

== fx, Infinity is Colourless

Replies are listed 'Best First'.
Re: Accessing the USB port using Perl
by rpc (Monk) on Mar 13, 2001 at 02:39 UTC
    USB support is an OS level problem. Preliminary USB support is available in the 2.4 linux kernel, and some BSD's.

    If you're really interested in Linux USB, see this site. However, I don't think your question is very relevant to Perl itself. I am not familiar with the Linux USB interface, but I assume it's accessible through character devices. If that's the case, you should be able to use Perl's file i/o to communicate with the device. The rest is up to you.