如何使用Perl检查给定字符串是否包含某个子字符串?
更具体地说,我想看看s1.domain.com给定的字符串变量中是否存在.
s1.domain.com
string perl string-matching
perl ×1
string ×1
string-matching ×1