On 11-11-05 10:07 AM, Ken Peng wrote:
于 2011-11-5 21:59, Shawn H Corey 写道:
The open statement:

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

So why? Thanks.

Ken.


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
$


--
Just my 0.00000002 million dollars worth,
  Shawn

Confusion is the first step of understanding.

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

"Make something worthwhile."  -- Dear Hunter

--
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