in reply to Re: Idiom for a regex translation
in thread Idiom for a regex translation

A slight variation could be:
my $name = my $squished_name = 'Rob J Anderson'; $squished_name =~ s/\W//g;