in reply to
Re: Messing Around
in thread
Messing Around
int(rand(53)) + 1
gives a number from 1 to 53. Did you mean
int(rand(54)) + 1
?
Comment on
Re^2: Messing Around
Select
or
Download
Code
Replies are listed 'Best First'.
Re^3: Messing Around
by
phaylon
(Curate)
on Feb 22, 2005 at 23:40 UTC
Yep, you got me :D I have a version here which doesn't pick numbers twice, but it's still running.. I guess this is not for production,
Ordinary morality is for ordinary people. -- Aleister Crowley
[reply]
In Section
Seekers of Perl Wisdom