On 10-09-20 03:21 AM, Kammen van, Marco, Springer SBM NL wrote:
-----Original Message-----
From: rahul patil [mailto:rahul.deshmukhpa...@gmail.com]
Sent: Monday, September 20, 2010 8:59 AM
To: beginners@perl.org
Subject: What does -w means in #!/usr/bin/perl -w
Hello all,
I use linux.
whenever we write a perl script we use
#!/usr/bin/perl -w
at the beginning. What does -w means here?
Is it perl specific or linux interpreter needs it?
perl -w enables warnings.
It's usefull for debugging purposes.
Marco.
True but best practices says you should `use warnings;` instead.
#!/usr/bin/perl
use strict;
use warnings;
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/