in reply to Difference between 'use warnings' and '-w' switch
-w turns warnings on for the entire program, while use warnings; only turns on warnings for the current /scope|module|file/.
Update:Meh, late on the post. First post describes it better (if better is defined as using Perl compliant language :) ).
|
|---|