in reply to Escaping in regexes

just for the sake of completeness ... quotemeta
$stem = quotemeta $stem; if ($word =~ m/^$stem/) {blah;}

-- Hofmator