Recherche perl si la variable contient un mot

if (index($str, $substr) != -1) {
    print "$str contains $substr\n";
} 
Prickly Panther