A
amirkargerweb
Hi.
Running perl5.8.* on Linux (more details later), I get:
==============
...
..Inappropriate ioctl for device.
hi
bye
==============
- Why is $! getting set if the open was successful?
- My open command seems pretty darn simple. Am I doing something wrong?
- Is this a known issue?
More details:
This problem happened on a variety of 2.4 RedHat Linux kernels (Intel
and AMD), plus Mandrake 2.6. It did NOT happen on OS X 10.3, Solaris 9
on SPARC, or Digital Unix.
Any thoughts?
Thanks,
-Amir Karger
(e-mail address removed)
Running perl5.8.* on Linux (more details later), I get:
==============
".$\!.\n"; print <FOO>'echo 'hi' > zzz
echo 'bye' >> zzz
perl -we 'print ".$\!.\n";open FOO, "<zzz" or die "foo\n";print
...
..Inappropriate ioctl for device.
hi
bye
==============
- Why is $! getting set if the open was successful?
- My open command seems pretty darn simple. Am I doing something wrong?
- Is this a known issue?
More details:
This problem happened on a variety of 2.4 RedHat Linux kernels (Intel
and AMD), plus Mandrake 2.6. It did NOT happen on OS X 10.3, Solaris 9
on SPARC, or Digital Unix.
Any thoughts?
Thanks,
-Amir Karger
(e-mail address removed)