in reply to Should I worry about "Inappropriate ioctl for device"?

That's merely the contents of $! at the time your die is called. You need to find out what it is prior to this which is setting $! to that string then you'll be in a position to fix it.

You are using warnings, I presume?


🦛

Replies are listed 'Best First'.
Re^2: Should I worry about "Inappropriate ioctl for device"?
by Lady_Aleena (Priest) on Aug 07, 2020 at 13:04 UTC

    Yes I am using warnings, and they are FATAL for this script.

    My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena