my $string = "hallo/ciao/buon giorno/salut"; $string =~ s!/!!g; # wichtig sind hier die '!', anstatt ein '/' print "$string";