in reply to Testing $^W
(Of course, if you are stuck with a pretty old version of perl, $^W may be the only way.)