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);
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
|
---|
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 |
In Section
Seekers of Perl Wisdom