in reply to /dev/tty.usbserial access

What's your Perl question? To open a file in perl (and /dev/whatever is just a file), use open. To write something, use print or syswrite.

The format of the data you need to write (or read) isn't Perl specific. You'd read/write the same thing if you wanted to it in C or Java.

Abigail

Replies are listed 'Best First'.
Re: Re: /dev/tty.usbserial access
by MCS (Monk) on Jan 14, 2004 at 21:41 UTC
    thanks, I wasn't sure if I needed to print to it in a certain way. Also when I tried it initially, I used the /dev/tty.usbserial and it didn't work. Now that you mentioned that's what I needed to do I tried the /dev/cu.usbserial and it works.