in reply to Re: Index number repeating in for loop
in thread Index number repeating in for loop

> You are confusing assignment and comparison.

to be precise compare eq vs == vs =

see perlop#Equality Operators and perlop#Assignment Operators

Cheers Rolf

( addicted to the Perl Programming Language)