in reply to srand and seed
In that code, $x and $y will hold the same value. That is why YOUR code produces 11 identical values. Specifically, it runs so fast that time() never changes.srand 10; $x = rand; srand 10; $y = rand;
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|