Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my( $number, $depth ) = @ARGV;
    my @s = partition $number, $depth;
    print "@$_\n" for @s;