in reply to 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
( addicted to the Perl Programming Language)
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (501 votes). Check out past polls.