( my $new = reverse $string ) =~ tr/atgc/tacg/; print "$new\n"; #### ( my $new = reverse $string ) =~ tr/atgc\0-\277/tacg/d; print "$new\n";