view makeparam.pl @ 1:c32b619844ba default tip

add eview.go.
author pyon@macmini
date Sun, 17 Sep 2017 14:33:27 +0900
parents 43e580fa4719
children
line wrap: on
line source


sub random_param {
    my @x;
    for ( 1..14 ) {
        #my $r = ( int rand 9 ) + 1;   # 1 .. 9
        my $r = ( int rand 19 ) - 9;   # -9 .. 9
        redo if $r == 0;
        push @x, $r;
    }
    print join ' ' => @x;
    print "\n";
}


for ( 1..1000 ) {
    random_param();
}