See the example in rand().
To get an 11-digit number starting with 912, I propose to generate a random 8-digit-number and put the 912 in front.
To get many numbers, you need a loop, e.g. a for-loop or a while-loop. (search for it in perlsyn)
HTH, Rata
In reply to Re: making random number
by Ratazong
in thread making random number
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |