Help for this page

Select Code to Download


  1. or download this
    @triplets = unpack ('(a3)*', $line);
    
  2. or download this
    # throw away trailing crud
    pop @triplets if $triplets[-1] !~ /.../;
    
  3. or download this
    my $line      = 'atccatccctttaat';
    my @triplets  = unpack( '(a3)*', $line);
    ...
    pop @triplets  if $triplets[-1]  !~ /.../;
    pop @triplets2 if $triplets2[-1] !~ /.../;
    pop @triplets3 if $triplets3[-1] !~ /.../;
    
  4. or download this
    my @triplets = unpack("x${skip}(a3)*", $line);
    pop @triplets if $triplets[-1]  !~ /.../;
    
  5. or download this
    --
    @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/;
    map{y/X_/\n /;print}map{pop@$_}@/for@/