in reply to Toggling vars in each iterations
Post what you've tried. I barely understand what you are asking...
is that what you are after perhaps?foreach my $ix(1..10) { $var=($ix%2? $value1:$value2); $var=($ix%s? $value2:$value1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Toggling vars in each iterations
by akki_best (Initiate) on Jan 17, 2013 at 02:34 UTC | |
by Athanasius (Archbishop) on Jan 17, 2013 at 02:41 UTC |