in reply to Re^6: loop surprise
in thread loop surprise

I have made this mistake in the past. I now usually avoid the issue by using a function such as "first_index" in List::MoreUtils.
Bill