In this case, I'd put use warnings anyway. Note that OP's shabang does not start from the very first character in the script, because there are some lines of comment before (and an empty one, too). Thus, the -w switch is likely to be ignored in this case.