awohld has asked for the wisdom of the Perl Monks concerning the following question:
Update: Changed "$Azimuth != 'Azimuth'" to "$Azimuth ne 'Azimuth'". I'm comparing text so the != numeric comparator won't work!my ($Y1, $X1, $Azimuth, $Y2, $X2, $Device) = $csv->fields; if ($Azimuth != 'Azimuth') {$Azimuth = "Print This A LOT!!";} print <<EOF; <tr> <td width="0" height="0">$Y1</td> <td width="0" height="0">$X1</td> <td width="0" height="0">$Azimuth</td> <td width="0" height="0">$Y2</td> <td width="0" height="0">$X2</td> <td width="0" height="0">$Device</td> </tr> EOF
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't update variable - Local variable problem?
by merlyn (Sage) on Jul 29, 2005 at 04:00 UTC | |
by awohld (Hermit) on Jul 29, 2005 at 04:06 UTC | |
|
Re: Can't update variable - Local variable problem?
by pg (Canon) on Jul 29, 2005 at 05:07 UTC |