Mercurial > mercurial > hgweb_ai.cgi
view makeparam.pl @ 0:43e580fa4719
first commit.
author | pyon@macmini |
---|---|
date | Mon, 04 Sep 2017 21:40:33 +0900 |
parents | |
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(); }