In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Wc -Sx- Jones) writes:
HOW-TO of the Month Club (end Of MARCH Edition)
(Even though many of you *flamed* me - _I' bck_ :)
This edition I will show you how to declare variables
WITHOUT using *my* $var everywhere...
[snip dangerous advice]
Peter Scott wrote:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Wc -Sx- Jones) writes:
This edition I will show you how to declare variables
WITHOUT using *my* $var everywhere...
[snip dangerous advice]
This is reprehensible.
#! /usr/bin/perl
eval 'exec perl -S $0 $@' if 0;
use strict;
use
On 3/28/2004 11:29 AM, WC -Sx- Jones wrote:
Peter Scott wrote:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Wc -Sx- Jones) writes:
This edition I will show you how to declare variables
WITHOUT using *my* $var everywhere...
[snip dangerous advice]
This is reprehensible.
#!
Randy W. Sims wrote:
There have been a lot of corrections, but I have seen very few messages
that I would consider flames. Don't take it too personally.
I dont :) The really nasty ones were off list.
But like I stated I'm a big guy and can handle it.
Once the problem is presented the whole
--As of Saturday, March 27, 2004 10:17 AM -0500, WC -Sx- Jones is alleged
to have said:
Also, all of these $:: are brought into GLOBAL
usage (which some programmers frown upon much
like GOTO syntax is frowned upon.)
--As for the rest, it is mine.
They why aren't you just leaving off warnings
This edition I will show you how to declare
variables WITHOUT using *my* $var everywhere...
I'm not sure this is the sorta stuff I'd be teaching beginners.
There are far better ways to shape impressionable minds, and
this syntax just lends credence to the Perl is ugly theory
(more adequately
On Mar 27, 2004, at 9:17 AM, WC -Sx- Jones wrote:
HOW-TO of the Month Club (end Of MARCH Edition)
(Even though many of you *flamed* me - _I' bck_ :)
[snip code that scares me]
Depending upon the number of flames I may post
something REALLY basic next time %)
I know I've complained that
On 3/27/2004 10:17 AM, WC -Sx- Jones wrote:
HOW-TO of the Month Club (end Of MARCH Edition)
(Even though many of you *flamed* me - _I' bck_ :)
I didn't catch that thread, so I don't know why you were flamed, but I
see no problem with posting occasional HOW-TOs so long as they are
I'm not a good enough coder to judge issues of style... Mostly grab a
tweak stuff from cookbooks, BUT isn't TMTOYTDI kind of core to PERL? Or
is PERL turning into Python?
BYW, I like the how-tos
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bruce Ferrell wrote:
is PERL turning into Python?
No, I believe you are beginning to see
the commonality between advanced langauges.
Perl is, of course, everything other
languages should have been.
BYW, I like the how-tos
It is designed to stir things up :)
BTW - I highly recommend Perl Medic by
Morbus Iff wrote:
This edition I will show you how to declare
variables WITHOUT using *my* $var everywhere...
I'm not sure this is the sorta stuff I'd be teaching beginners.
There are far better ways to shape impressionable minds, and
this syntax just lends credence to the Perl is ugly theory
WC -Sx- Jones [EMAIL PROTECTED] wrote:
:
: HOW-TO of the Month Club (end Of MARCH Edition)
:
: (Even though many of you *flamed* me - _I' bck_ :)
:
: This edition I will show you how to declare variables
: WITHOUT using *my* $var everywhere...
James Edward Gray II wrote:
1. You show a means of variable declaration that you say replaces my()
when in fact it's equivalent to our().
2. Your use of local() is scary at best. It looks like a step
backwards in Perl history to me. local() is pretty misunderstood to
begin with and I don't
Bruce Ferrell [EMAIL PROTECTED] wrote:
:
: I'm not a good enough coder to judge issues of style...
: Mostly grab a tweak stuff from cookbooks, BUT isn't
: TMTOWTDI kind of core to PERL?
Yes. you are correct.
: Or is PERL turning into Python?
I don't know Python. Though I doubt it.
Charles K. Clarkson wrote:
To many of us, we are at war. Perl is so easy to
learn that many have adopted very poor programming
skills and produced very poor quality programs. It is
important to many of us to turn the tide of poor perl
programming habits.
I strongly agree.
Yes, perl allows
On Mar 27, 2004, at 10:42 AM, WC -Sx- Jones wrote:
2. Your use of local() is scary at best. It looks like a step
backwards in Perl history to me. local() is pretty misunderstood to
begin with and I don't think we, of all people, should be adding to
the problem.
I guess I am think as a
WC -Sx- Jones wrote:
James Edward Gray II wrote:
1. You show a means of variable declaration that you say replaces my()
when in fact it's equivalent to our().
2. Your use of local() is scary at best. It looks like a step
backwards in Perl history to me. local() is pretty
17 matches
Mail list logo