The script itself isn't affected by this error (at least so it seems), the file is being opened and everything seems well.
Before making such statements, check for the return value of open and close first:
open FH, "test.txt" or die "Can't open file: $!"; close FH or die "Can't close file: $!";
or even use Fatal qw(open close);
I can't answer your question though.
In reply to Re: Inappropriate ioctl for device
by moritz
in thread Inappropriate ioctl for device
by adisi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |