in reply to going loopy
This pushes the value onto the array, which looks to be desired behaviour. So hopefully now your code should do the right thing :)while (($key2, $value2) = each (%gradient_hash)) { if (($value2 > 0.1) || ($value2 < -0.1)) { push @steep_grads, $key2 . '?' . $value2; push @slopes, $value2; } }
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: going loopy
by Anonymous Monk on May 14, 2003 at 13:36 UTC | |
by broquaint (Abbot) on May 14, 2003 at 13:44 UTC | |
by Anonymous Monk on May 14, 2003 at 14:10 UTC | |
by broquaint (Abbot) on May 14, 2003 at 14:30 UTC |