Thanks for all your help.. I found out what my problem was. In the testing version of perl, it doesn't include that file ioctl.ph. I was trying to get the package libdevice-serial-perl installed and when setting the handshaking to cts/rts only, it was complaining becuase it didn't know 'how' to do that...hence ioctl.ph
Apparently, if you're running testing or later, you have to build those files yourself. Simply done by # cd /usr/include; h2ph -r -l . that converts all the c header files into perl header files. Effectivly it fixes (overkills) the problem, but it works now :) which ofcourse, leads me to my original problem, im having one fsck of a time trying to decode my belkin UPS's serial protocol. I hope to create a custom perl module for it. I'm almost there, i have the base commands, i just cant make the serial port talk properly to the UPS... but i'll start a new thread on that tomorrow :) .. any good perl serial-port hackers around? :) -adam -- Adam McDaniel Infrastructure Technology Consultant M-Tech Mercury Information Technology, Inc.