in reply to $^W
This begs the question: what is line 1 of that file? Perl is complaining because $^W is reserved as the "is warnings enabled?" indicator.