in reply to How to skip certain values in a foreach loop
Your problem is not very clear to me but I am assuming that for each value of AdminTime you want to fetch five values from AdminEndDate.
Is that possible in Perl?
It is more of a logic issue rather than Perl issue
You can pop out five values from AdminEndDate for each iteration of AdminTime. You can also take a counter in AdminTime's loop and use it to get the starting index of AdminEndDate.
I hope that directs to you towards solution. I haven't worked on Template so I won't be able to show you how to code it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to skip certain values in a foreach loop
by Frederic_S (Novice) on Dec 28, 2010 at 12:48 UTC | |
by Frederic_S (Novice) on Dec 28, 2010 at 13:09 UTC | |
by Anonyrnous Monk (Hermit) on Dec 28, 2010 at 14:32 UTC | |
by Anonymous Monk on Dec 29, 2010 at 10:38 UTC | |
by Anonyrnous Monk (Hermit) on Dec 29, 2010 at 11:06 UTC | |
| |
by samarzone (Pilgrim) on Dec 28, 2010 at 14:31 UTC |