in reply to Accessing keys through values
Update: Since the only thing you ever print out is $c5, you can
and then your output might be:$c4=$a2[$i+3]; $c5=$a2[$i+4]; $i5 = $index[$i+4]; # This is new $c6=$a2[$i+5];
{ $peak=$c5; print "$i5 = $peak\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Accessing keys through values
by cybersmithuk (Initiate) on Apr 26, 2005 at 12:08 UTC | |
by cybersmithuk (Initiate) on Apr 26, 2005 at 13:31 UTC |