I got this PERL error message.  Can someone explain what it means?:

  Value of <HANDLE> construct can be "0"; test with defined() at ./check
  line 65535.

My program "./check" is not 65535 lines long.  I don't use a variable
named "HANDLE", although I do open a file called "MAIL" and I read <MAIL>
like this:

   while($line = <MAIL>) {
      ...
   }

Thanks!  (Side remark: If some con struct _can_be_"0"_, why is it
complaining?  I'd expect it to complain if it *can't* do something.)  BTW,
the message does go away if I remove the -w option, and whether I use the
-w option or not, the program works as expected.  I just want to know why
I'm getting the message...

-Mark

---
Mark K. Kim
http://www.cbreak.org/mark/
PGP key available upon request.

Reply via email to