Hello all...'nuther goofy question

This bit of code...

open(outfile, ">".$pathToXML ) or die ("couldnt open xml file");
flock(outfile, 2);
print outfile $text;
close(outfile);

generates the following messages in my error_log

Unquoted string "outfile" may clash with future reserved word at 
/var/www/cgi-bin/adminWorkReport2.cgi line 66.
Unquoted string "outfile" may clash with future reserved word at 
/var/www/cgi-bin/adminWorkReport2.cgi line 67.
Unquoted string "outfile" may clash with future reserved word at 
/var/www/cgi-bin/adminWorkReport2.cgi line 69.
Unquoted string "outfile" may clash with future reserved word at 
/var/www/cgi-bin/adminWorkReport2.cgi line 70.


But this bit of code...

open(assignFile, ">".$pathToAssignNum) or die ("couldnt open assignNum.txt");
flock(assignFile, 2);
print assignFile $number;
close(assignFile);

doesnt!


wtf???

it happens even if i DONT use strict

Thanks
J-

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to