in reply to Re^2: Need to find a more efficient way to write if/elsif in loop
in thread Need to find a more efficient way to write if/elsif in loop
my @aoh = map { {row => $count, col => $_+2, input_value => $test1[$_]} } 0 .. ($col_length-1);
UPDATE: changed code due to error identified by AnomalousMonk++
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Need to find a more efficient way to write if/elsif in loop
by AnomalousMonk (Archbishop) on Sep 05, 2014 at 17:36 UTC |