in reply to write to textfile

Hi Squeeky, If your just writing to the file and not reading it at the same time you may just wish to open the file with:
open(POLLWRITE, ">>D:/Inetpub/wwwroot/j14/include/special_poll.txt) or + die "Can't open file: $!\n"; # do stuff here close(POLLWRITE);

What this does is open the file in append mode so that the file contents don't get clobbered. Theres no reason to open a file for read and write when all your doing is writing to it.

Good luck my brother,
BMaximus