[Pdx-pm] for vs foreach question

Tom Phoenix rootbeer at redcat.com
Wed Dec 10 13:05:04 CST 2003

On Wed, 10 Dec 2003, Tom Phoenix wrote:

> But here, $i is an element of the array @$aref, so it's not a number.

Oops. Well, I meant to say, not _necessarily_ a number. In particular,
it's not useful in general for indexing into the array, which seems to be
what you are trying to do.

--Tom Phoenix

More information about the Pdx-pm-list mailing list