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


in reply to Regex Substitution in sub

OK. Sorry. It should read my $result

my mistake.

peppiv