in reply to 'use strict' causing me an error

I'm not an expert or anything, but have you tried removing the paranthesis around the "Unable to open errorlog.txt: $!\n"
or die "unable to open errorlog.txt: $!\n";
I'm not sure if that maters or not, I just know that I don't use them in my code.

Stuffy

update:

Opps, I was wrong, oh well, can't blame a guy for trying