To_Bz has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I'm getting the following error message from a perl module called Phi.pm.
I can not execute the PHI test: Phi: Inappropriate ioctl for device at /biologia-scratch3/mc.martinez297/programs/Unus-master/Unus/Test/Phi.pm line 63
First, I thought it was a problem related with permissions, so I changed them. This module has read and execution permissions.
So, then I looked the line 63, and I have the following:
I read the recomendations in http://www.perlmonks.org/?node_id=589324 , and they recommended to erase $! but I don't know what to do with $?==0, since $! and $? are "different types of error conditions"(http://perldoc.perl.org/perlvar.html)
However, I still don't understand what is happening with these variables.
I'm new in Perl, so I'll appreciate the help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Inappropriate ioctl for device using Phi.pm on system call
by GotToBTru (Prior) on May 19, 2014 at 22:38 UTC | |
|
Fix $? check
by dolmen (Beadle) on May 23, 2014 at 08:55 UTC | |
|
Re: Inappropriate ioctl for device using Phi.pm on system call
by aitap (Curate) on May 25, 2014 at 10:26 UTC |