On 11-11-05 09:45 AM, Ken Peng wrote:
It did clear it, see this:
$ perl -le 'print $!;open HD,"/etc/passwd" or die;<HD>;print $!'
Bad file descriptor
I don't know where the $! get setted.
The open statement:
perl -le 'print $!;open HD,"/etc/passwd" or die;print $!;<HD>;print $!'
--
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/