in reply to Escaping in regexes
$stem = quotemeta $stem; if ($word =~ m/^$stem/) {blah;} [download]
-- Hofmator