Help for this page

Select Code to Download


  1. or download this
    my (@list, %find);
    @list = qw/a t g c/;
    ...
    @find{@list} = map {reverse @list[$_*2, $_*2+1] } 0..@list/2-1;
    
    print "$_: $find{$_}\n" for @list;
    
  2. or download this
    a: t
    t: a
    g: c
    c: g