in reply to Re: Re: foreach not working as I expected
in thread foreach not working as I expected

Why checking on the close :-)

I always use IO::File and run the filehandle lexically. It gets close automaticly when it runs out of scope as you mention correctly in your update.


---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium

  • Comment on Re: Re: Re: foreach not working as I expected