I'm trying to remove all spaces in a string. my $dir = $tag->{GENRE}."/".$info->{ARTIST}."/".$info->{ALBUM}; my $dir =~ (s/\ /\_/g); print $dir."\n"; What is the right way to do it? Thx, Chris