http://www.perlmonks.org?node_id=71315


in reply to Re: use warnings vs. perl -w
in thread use warnings vs. perl -w

You can also apply '-w' in the file association if you are concerned. Go to "Tools - Folder Options - File Types". Find your PL entry. Edit the Open property and add '-w' and whatever other options you want by default.

Of course, you could also set this programatically via perl.

As I recall, before the Grand Unification of AS and GS Win32 perl distributions, you had to add it for GS, though I could be mistaken.

HTH
Dex