Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
    my $i = 1;
    $string =~ s/(-+)/$subs[$i ^= 1] x length $1/eg;
    print $string;
    
  2. or download this
    ---BB--BBB---BBB---B-B---
    ---MM--MMM---MMM---M-M---
    iiiMMooMMMiiiMMMoooMiMooo