in reply to Re^2: Comparing strings with special characters
in thread Comparing strings with special characters

If I understand you query correctly, a quick non perl solution is
grep -A2 -f candseq_data_file rawseq_data_file
A perlish way of checking the presence of a string in an array is
@is_member = grep { $_ =~ /$candseq/} @rawseq;