Transcribing DNA into RNA

Author: gerdr

http://rosalind.info/problems/rna/

Sample input

GATGGAACTTGACTACGTAAATT

Sample output

GAUGGAACUUGACUACGUAAAUU

Source code: rna-gerdr.pl

use v6;

sub MAIN(Str $input = "GATGGAACTTGACTACGTAAATT") {
    .trans('T' => 'U').say given $input;
}