最佳答案
How can I check whether a given string contains a certain substring, using Perl?
More specifically, I want to see whether s1.domain.example
is present in the given string variable.