Help for this page

Select Code to Download


  1. or download this
     #!/usr/local/bin/perl 
    perl -Mstrict -Mwarnings -E 
    my $text =
    ...
    push @cums, $_ + $cums[ -1 ] for @offs;
    substr $text, $_, 0, q{-} for reverse @cums[ 1 .. $#cums ];
    say $text;