It sounds almost like you expect c<$i> to be updated - which won't happen; Are you are confusing a test with an assignment - the
eq operator tests for string equality between the LHS and RHS, it is most definitely not an assignment operator.
A user level that continues to overstate my experience :-))