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!

#!/usr/bin/perl -w

Status
Not open for further replies.

cginewbie

Programmer
Jan 20, 2002
24
US
What is that -w has to do with Perl intepreter?
and what other options can I use and what are their meanings?


Thanks a bunch
Kevin
 
cgiNewbie,

-w enables warnings. It tells Perl to flag things that might not be declared properly. For example, it might show you where you've accidentally forgotten to declare a variable with the my statement or where you've inadvertantly mistyped another variable name.

For more information, please see
Code:
perldoc perldiag

hope this helps...

-- Lance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top