>-----Original Message-----
>From: rahul patil [mailto:[email protected]] 
>Sent: Monday, September 20, 2010 8:59 AM
>To: [email protected]
>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. 

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to