Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $end = pop @array; for (my $i = 0; $i < @array; $i++) { if ($array[$i] =~ m/\D{1}(\D?\d+\D?\d*)\D{1}(\D?\d+\D?\d*) +\D{1}/ ) { $x1 = $2; $y1 = $1; } if (($array[$i + 1] =~ m/\D{1}(\D?\d+\D?\d*)\D{1}(\D?\d+\D +?\d*)\s*\D{1}/ ) || ($grads[$i+1] != $end)) { $x2 = $2; $y2 = $1; } else { print "ohhh noooo <P>"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: counter issues
by Skeeve (Parson) on May 13, 2003 at 12:35 UTC | |
|
Re: counter issues
by Limbic~Region (Chancellor) on May 13, 2003 at 13:58 UTC | |
|
Re: counter issues
by Aristotle (Chancellor) on May 13, 2003 at 14:48 UTC | |
by shemp (Deacon) on May 13, 2003 at 15:48 UTC | |
by Aristotle (Chancellor) on May 13, 2003 at 16:00 UTC |