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)
Yes, I watch meteor showers
No, I do not watch meteor showers
My meteors prefer to bathe
Results (162 votes). Check out past polls.