in reply to Re: Problem understanding why for loop won't work when foreach is working
in thread Problem understanding why for loop won't work when foreach is working

Hello PatGro, and welcome to the Monastery!

I'll read more on closure later today

1Tom Christiansen, brian d foy & Larry Wall with Jon Orwant, Programming Perl, 4th Edition, 2012.

Hope that helps,

Update: Added author links.

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

  • Comment on Re^2: Problem understanding why for loop won't work when foreach is working