From: "Sunita Rani Pradhan" <sunita.prad...@altair.com>
> We have -w option for warnings  which we specify with the 1st line . How
> does it work on windows ?
> 
> -Sunita


Yes it works under Windows, but is recommended to not use it anymore.

It is better to use (under any OS) instead:

use warnings;

Because later in some blocks of code if you'll want you will be able to use:

no warnings;

Of course, if you use the -w switch you will be still able to use
no warnings;
later, but it is not nice to begin by using -w then use "no warnings;".

Octavian




--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to