Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Why should I use the -w argument with my Perl programs?
Why should I use the -w argument with my Perl programs?
✍: Guest
Many Perl developers use the -w option of the interpreter, especially during the development stages of an application. This warning option turns on many warning messages that can help you understand and debug your applications.
To use this option on Unix systems, just include it on the first line of the program, like this:
#!/usr/bin/perl -w
If you develop Perl apps on a DOS/Windows computer, and you're creating a program named myApp.pl, you can turn on the warning messages when you run your program like this:
perl -w myApp.pl
2013-08-28, 2038👍, 0💬
Popular Posts:
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]? a[i] == *...
What are the high-level thread states? The high-level thread states are ready, running, waiting, and...
Can you have virtual functions in Java? Yes, all functions in Java are virtual by default. This is a...
What will be printed as the result of the operation below: main() { char s1[]="Cisco"; char s2[]="sy...
What is Service Oriented architecture? “Services” are components which expose well defined interface...