Yes I can use that . Does this -w option works on windows or not ?

-----Original Message-----
From: Christian Marquardt [mailto:christian.marqua...@trivadis.com] 
Sent: Monday, January 10, 2011 6:22 PM
To: Sunita Rani Pradhan; Donald Calloway; beginners@perl.org
Subject: Re: 1st line of perl script

Maybe you can use "use warnings;" for this ...

Best regards
Christian




Am 10.01.11 13:49 schrieb "Sunita Rani Pradhan" unter
<sunita.prad...@altair.com>:

>We have -w option for warnings  which we specify with the 1st line .
How
>does it work on windows ?
>
>-Sunita
>
>-----Original Message-----
>From: Donald Calloway [mailto:donald.callo...@gmail.com]
>Sent: Sunday, January 09, 2011 6:42 PM
>To: beginners@perl.org
>Subject: Re: 1st line of perl script
>
>I think there is no error thrown by Windows (or any other architecture)
>
>because this line is never compiled because of the # in front which
>signifies the line as comments.
>
>On Tue, 04 Jan 2011 00:33:18 -0500, Sunita Rani Pradhan
><sunita.prad...@altair.com> wrote:
>
>> Hi All
>>
>>
>>             Perl script  works without the first line ( perl
>Interpreter
>> : #! /usr/bin/perl) . What is the real use of this line ? This line
>does
>> not through any error on Windows where , this path does not exist .
>>
>> Why is it so ?
>>
>>
>> Could anybody explain it  clearly?
>>
>>
>> Thanks
>>
>> Sunita
>>
>
>
>-- 
>Using Opera's revolutionary email client: http://www.opera.com/mail/
>
>-- 
>To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>For additional commands, e-mail: beginners-h...@perl.org
>http://learn.perl.org/
>
>
>
>-- 
>To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>For additional commands, e-mail: beginners-h...@perl.org
>http://learn.perl.org/
>
>


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to