Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

warnings

Status
Not open for further replies.

uida1154

Programmer
Mar 1, 2004
163
NL
Within the thread "need -> HELP" I saw something I have not seen before:

Code:
   #!/usr/bin/perl -w
   use strict;
   use warnings;

My question is: What is the added value to the use warnings here since the -w option already delivers warnings?

I am interested in it since I try to get my code more secure/save.
 
Wat a pitty.

Is there somehow another level of warnings available with Perl?

For C-coding you have for instance qac, for Java qaj etc.

I want to be able to be more strict on my code.
 
Just warnings, strict, and taint. I find that is sufficient for all I need. At least I haven't had an error yet that could not be quickly fixed from information provided by one of those three items.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top