Help for this page

Select Code to Download


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