In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> In a message dated 10/8/01 12:06:09 PM Eastern Daylight Time,
> [EMAIL PROTECTED] writes:
> You know, there's another way to avoid that mistake if you're willing to
> change your style a little bit. In all logical tests, put the varia
In a message dated 10/8/01 12:06:09 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
<<
REMEMBER...
= != == !
>>
You know, there's another way to avoid that mistake if you're willing to
change your style a little bit. In all logical tests, put the variable on
the RIGHT side.
if
I have a big sign over my computer that says...
REMEMBER...
= != == !
My way of telling my self that when I'm checking for equality in an if
statement such as
if($x == 4) {
# do something
}
I MUST use the equality operator (==) and NOT the assign
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Gary L. Armstrong) wrote:
> Sure, Perl's a language but I'm used to muttering in ksh, so I also forget
> the newlines on the ends of my print statements, hehehe. I thought my prog
> was broken a few times, turns out the one-word output was immed
IL PROTECTED]
Subject: RE: ultimate stupidity
Just think of the semicolons as periods to a sentence. Think of your
thoughts in totality. After all it is a language :-).
Ron
>From: "Gary L. Armstrong" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: RE: ultimate stu
Just think of the semicolons as periods to a sentence. Think of your
thoughts in totality. After all it is a language :-).
Ron
>From: "Gary L. Armstrong" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: RE: ultimate stupidity
>Date: Fri, 5 Oct 2
f an if or other
conditional block. Usually, though, it's the semicolon.
-=GLA=-;
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 11:43 AM
To: Francesco Scaglioni
Cc: [EMAIL PROTECTED]
Subject: Re: ultimate stupidity
On Fri, 5 Oct
Yeah, don't worry about it. We're all bozos on this bus.
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 10:43 AM
To: Francesco Scaglioni
Cc: [EMAIL PROTECTED]
Subject: Re: ultimate stupidity
On Fri, 5 Oct 2001, Francesco
On Fri, 5 Oct 2001, Francesco Scaglioni wrote:
> Answer:
> I had inadvertently put a space in front of the # at the beginning of
> the #!. The space is, of course covered by the cursor when I visit
> the beginning of the file an I had failed to notice the implied space
> ( implied because I coul
Hi,
I have just spent two hours trying to figure out why a perfectly good
script had failed!! The old script headers error.
Answer:
I had inadvertently put a space in front of the # at the beginning of
the #!. The space is, of course covered by the cursor when I visit
the beginning of the file
10 matches
Mail list logo