in reply to array looping with foreach
You can install Array::Each::Override and override each. This will allow you to obtain both the index and the value of each array element.
• another intruder with the mooring in the heart of the Perl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: array looping with foreach (try Array::Each::Override)
by ruzam (Curate) on Jan 19, 2008 at 05:42 UTC |