in reply to Re^3: Regexp works with some elements and doesn't with others
in thread Regexp works with some elements and doesn't with others

Sorry, thats my fault. I put the wrong loop from my file. I have updated it in my previous post now.
  • Comment on Re^4: Regexp works with some elements and doesn't with others

Replies are listed 'Best First'.
Re^5: Regexp works with some elements and doesn't with others
by diotalevi (Canon) on Feb 07, 2006 at 02:10 UTC

    $value is still a terrible name for an index. It's also terrible to code the plumbing of loop indexes manually when you have better alternatives available. That's why the reverse(0 .. $#array) is the preferred syntax.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊