Re: foreach debate (was Re: -w vs. use warnings)

2003-08-29 Thread K Old
On Fri, 2003-08-29 at 08:21, David T-G wrote: Kevin -- ...and then K Old said... % ... % % The posting a few weeks ago about for vs. foreach was interesting and got % me thinking about warnings. That sounds really interesting; unfortunately I haven't kept up enough to see it. Do

Re: -w vs. use warnings

2003-08-29 Thread Randal L. Schwartz
K == K Old [EMAIL PROTECTED] writes: K Randal Schwartz uses this: K #!/usr/bin/perl -w K use strict; K $|++; K Is there any difference between the -w and use warnings declaration? Compatability with 5.005. use warnings was added in 5.6, and my ISP ran 5.005 only until a year ago,

-w vs. use warnings

2003-08-28 Thread K Old
Hello everyone, Having been a Perl programmer for several years now I have become accustom to using the following as my normal start of any Perl script: #!/usr/bin/perl use warnings; use strict; Randal Schwartz uses this: #!/usr/bin/perl -w use strict; $|++; Is there any

Re: -w vs. use warnings

2003-08-28 Thread Morbus Iff
Having been a Perl programmer for several years now I have become accustom to using the following as my normal start of any Perl script: #!/usr/bin/perl use warnings; use strict; Randal Schwartz uses this: #!/usr/bin/perl -w use strict; $|++; Is there any difference between the -w

RE: -w vs. use warnings

2003-08-28 Thread wiggins
On 28 Aug 2003 16:17:21 -0400, K Old [EMAIL PROTECTED] wrote: Hello everyone, Having been a Perl programmer for several years now I have become accustom to using the following as my normal start of any Perl script: #!/usr/bin/perl use

Re: -w vs. use warnings

2003-08-28 Thread Tassilo von Parseval
On Thu, Aug 28, 2003 at 04:17:21PM -0400 K Old wrote: Having been a Perl programmer for several years now I have become accustom to using the following as my normal start of any Perl script: #!/usr/bin/perl use warnings; use strict; Randal Schwartz uses this: #!/usr/bin/perl -w

Re: -w vs. use warnings

2003-08-28 Thread John W. Krahn
K Old wrote: Hello everyone, Hello, Having been a Perl programmer for several years now I have become accustom to using the following as my normal start of any Perl script: #!/usr/bin/perl use warnings; use strict; Randal Schwartz uses this: #!/usr/bin/perl -w use

-w vs. use warnings

2003-07-02 Thread Michael Weber
Greetings! Is there any difference between #!/bin/perl -w code and #!/bin/perl use warnings; code ? Thanx! -Michael -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: -w vs. use warnings

2003-07-02 Thread Charles K. Clarkson
Michael, Read 'perlexwarn' in the perl documentation for a complete discussion. HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: -w vs. use warnings

2003-07-02 Thread Janek Schleicher
Charles K. Clarkson wrote at Wed, 02 Jul 2003 13:43:26 -0500: Read 'perlexwarn' in the perl documentation ^ Better to read perldoc perllexwarn ^^ for a complete discussion. Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,