http://www.perlmonks.org?node_id=637988


in reply to substitute with space

Another way is to transliterate;

$keyword =~ tr/+/ /;
That's quicker and a little simpler, since the regex engine isn't invoked.

After Compline,
Zaxo