于 2011-11-5 22:15, Shawn H Corey 写道:

It's something the OS does. Ever OS sets a different value.

$ perl -le 'print $!;open HD,"/etc/passwd" or die;print $!;<HD>;print $!'

Inappropriate ioctl for device
Inappropriate ioctl for device
$


Thanks for your explanation.
Maybe I should look into some of Perl's source code to find out it.

Thanks.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to