in reply to Re^2: multiple local vars in a foreach loop
in thread multiple local vars in a foreach loop

Depends on the version of Perl: each.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^3: multiple local vars in a foreach loop

Replies are listed 'Best First'.
Re^4: multiple local vars in a foreach loop
by LanX (Saint) on Jan 31, 2013 at 11:33 UTC
    Unfortunately not! :(

    This doesn't help splicing multiple loop vars...

    each:

    it will also return the index and value for the next element of an array so that you can iterate over it;

    Wrong answer wrong question! ;-)

    Cheers Rolf

      You are right. Heh, sometimes one should remember the original question, not only read a reply.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ