![]() |
|
"be consistent" | |
PerlMonks |
Re: Inappropriate ioctl for deviceby pc88mxer (Vicar) |
on Jul 21, 2008 at 15:42 UTC ( #699063=note: print w/replies, xml ) | Need Help?? |
As almut says, this is nothing to worry about. If you carefully look at your strace output, you'll see that perl even performs a TCGETS ioctl on the your script file!
Perl makes other information gathering calls when it opens a file such as calling _llseek with whence set to SEEK_CUR. You might wonder why perl has to ask what the file position is if it just opened a file. It turns out that it's logically cleaner to always ask rather than assume.
In Section
Seekers of Perl Wisdom
|
|