I am writing a small perl program that takes the serial output from our phone
switch and puts the individual call records into a Postgres database. Everything
works except for the part where I have to open the serial port. I am on RedHat
EL 4 and perl 5.8.5. The serial port is /dev/ttyS0, which I know works from the
OS level. 

I tried

open(PORT,"+>/dev/ttyS0") or die "Couldn't open serial port\n";

but that didn't work. I'm missing something, but I can't quite put my finger on
what.

Giff

Giff Hammar                         [EMAIL PROTECTED]
IT Director
Certified Parts Warehouse
V: 603.772.8870                 F: 603.778.6931
http://www.certifiedparts.com



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to