in reply to Re: Using 'lc' (lowercase) in a reg ex
in thread Using 'lc' (lowercase) in a reg ex

$newfile =~ s/\b([A-Z]{2,})\b/\\emph{lc($1)}/ge;
Unless you happen to have a function called emph, that's not going to work. If you want to use /e, write it as:
$newfile =~ s/\b([A-Z]{2,})\b/'\emph{' . lc ($1) . '}'/eg;

But I would go for the \L method.

Abigail