in reply to Counter in foreach loop

Your array contains a single scalar string, not three lines.    You want something like this instead:

my @cp_op = ( "111", "222", "333" );