Re: Tear me to shreds please...

2001-07-26 Thread Troy Denkinger
On Thursday 26 July 2001 02:30, you wrote: First, do use strict and make the changes necessary to satisfy it. It's a good habit to get into and would be a good learning experience to work it into this code. This is not so much code that it would take all that long. > open (ADDSRC, "data.csv"

RE: Tear me to shreds please...

2001-07-26 Thread Bob Showalter
> -Original Message- > From: Michael Carmody [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 26, 2001 2:30 AM > To: [EMAIL PROTECTED] > Subject: Tear me to shreds please... > ... Regarding this section of the code: > $c = ($data[4][$i] =~ s/\//\//g); > if ($c eq "")

RE: Tear me to shreds please...

2001-07-26 Thread Smith, Jim R
First, this is a beginners list, so there will be no tearing to shreds. Secondly: The Great Truth of Perl: "There is always more than one way to do it" . suggestion: replace this:$j = scalar(@array); $j--; for $d (0 .. $j) with this: