In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Morbus Iff) writes:
>"use warnings" only exists in Perl 5.004_05 or later. If you want your
>scripts to work in Perl interpreters earlier than that (the still prevalent
>5.004_04), then you'll need to use "-w". Note: I may be slightly "what crack
> "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
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
From: Morbus Iff <[EMAIL PROTECTED]>
> As for $|++, there was a recent debate (on Perlmonks.com, I believe)
> on how $|=1 may be a better visual choice than $|++. I haven't made up
> my mind either way - I still use ++ in my own scripts. Unfortunately,
> I couldn't find the Perlmonks.com link, so I
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
>
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/bi
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
>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
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 differen
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
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 PROTECTE
Greetings!
Is there any difference between
#!/bin/perl -w
and
#!/bin/perl
use warnings;
?
Thanx!
-Michael
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
12 matches
Mail list logo