in reply to Re^4: Filehandler Trouble
in thread Filehandler Trouble

Are you sure the code is being reached? Try sticking this just before the print:

   die("HERE I AM!");

Now your code should die and you'll know that the line is being reached. Alternately you could pop into the debugger and obtain the same information.

-sam