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


in reply to Getting Trouble with REGEXP

$nums =~ tr/0-9/ /c;
see tr/SEARCHLIST/REPLACEMENTLIST/cds for details.