Use "use warnings" rather than -w on the #! line.