in reply to Breaking from a foreach loop, returning to position

Maybe you just want to call a subroutine? (Which leaves your loop and returns to the same place)

otherwise you can use goto to jump into the middle of a loop. .. as long as it's not done with foreach.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re: Breaking from a foreach loop, returning to position