On 11-11-05 08:07 AM, Ken Peng wrote:
Then where did it get the error and set up the value of $! in my first
post?

You're assuming that perl clears $! at the start of your script. Never assume a variable has a valid value unless you set it yourself. In other words, always initialize your variables.


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