Re: ultimate stupidity

2001-10-15 Thread _brian_d_foy
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

Re: ultimate stupidity

2001-10-13 Thread RoadRaat
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

RE: ultimate stupidity

2001-10-08 Thread Chris Spurgeon
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

Re: ultimate stupidity

2001-10-06 Thread _brian_d_foy
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

RE: ultimate stupidity

2001-10-06 Thread Gary L. Armstrong
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

RE: ultimate stupidity

2001-10-05 Thread Ron Smith
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

RE: ultimate stupidity

2001-10-05 Thread Gary L. Armstrong
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

RE: ultimate stupidity

2001-10-05 Thread Camilo Gonzalez
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

Re: ultimate stupidity

2001-10-05 Thread Brett W. McCoy
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

ultimate stupidity

2001-10-05 Thread Francesco Scaglioni
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