in reply to cgi oracle ioctl error

it exits with Inappropriate ioctl for device
I assume that you are printing out the value of $! - this only contains the last OS error and is likely to have something completely erroneous in it unless you have detected an error from a perl function that will have made a system call at some point. Can you show us the code that you are using to detect the error.

/J\