in reply to foreach loop - could it beeeeee!!
should bemy $pick; ($choice_array[0] eq 'correct') ? ($pick = aaa) : ($pick = bbb);
my $pick = $choice_array[0] eq 'correct' ? aaa : bbb;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: foreach loop - could it beeeeee!!
by JadeNB (Chaplain) on Oct 10, 2009 at 20:32 UTC | |
by bart (Canon) on Oct 11, 2009 at 12:56 UTC | |
by JadeNB (Chaplain) on Oct 11, 2009 at 20:40 UTC | |
by bart (Canon) on Oct 11, 2009 at 20:59 UTC | |
by ikegami (Patriarch) on Oct 11, 2009 at 18:04 UTC |