Google News
logo
Perl - Interview Questions
What is the importance of Perl warnings?
Perl warnings help us to check errors in our code by giving warnings.
 
To enable them use -w :
perl -w scriptName.pl  
Alternatively, you can also supply it within the "shebang" line :
#/usr/local/bin/perl -w  
Advertisement